summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/ui/CMakeLists.txt
blob: f951f8572953e49a53af4b9040fc644e7603c805 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#################################################
#
#  (C) 2010-2011 Serghei Amelian
#  serghei (DOT) amelian (AT) gmail.com
#
#  Improvements and feedback are welcome
#
#  This file is released under GPL >= 2
#
#################################################

add_definitions( -DKDE_NO_COMPAT )

include_directories(
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${CMAKE_BINARY_DIR}
  ${CMAKE_SOURCE_DIR}/kopete/libkopete
  ${CMAKE_SOURCE_DIR}/kopete/libkopete/private
  ${TDE_INCLUDE_DIR}
  ${TQT_INCLUDE_DIRS}
)


##### other data ################################

install( FILES
    addressbooklinkwidget.h kopetefileconfirmdialog.h
    kopetepasswordwidget.h kopeteview.h addcontactpage.h
    kopeteviewplugin.h editaccountwidget.h kopetecontactaction.h
    kopetestdaction.h userinfodialog.h addressbookselectordialog.h
    addressbookselectorwidget.h kopetelistview.h accountselector.h
    kopetelistviewitem.h kopetelistviewsearchline.h
    ${CMAKE_CURRENT_BINARY_DIR}/fileconfirmbase.h
    ${CMAKE_CURRENT_BINARY_DIR}/kopeteawaydialogbase.h
    ${CMAKE_CURRENT_BINARY_DIR}/kopetepasswordwidgetbase.h
    ${CMAKE_CURRENT_BINARY_DIR}/kopetepassworddialog.h
  DESTINATION ${INCLUDE_INSTALL_DIR}/kopete/ui )


##### kopeteui (static) #########################

add_custom_target(
  kopeteui_base_headers
  DEPENDS
    ${CMAKE_CURRENT_BINARY_DIR}/addressbooklinkwidget_base.h
    ${CMAKE_CURRENT_BINARY_DIR}/addressbookselectorwidget_base.h
    ${CMAKE_CURRENT_BINARY_DIR}/contactaddednotifywidget.h
    ${CMAKE_CURRENT_BINARY_DIR}/fileconfirmbase.h
    ${CMAKE_CURRENT_BINARY_DIR}/kopetepasswordwidgetbase.h
    ${CMAKE_CURRENT_BINARY_DIR}/metacontactselectorwidget_base.h
)

tde_add_library( kopeteui STATIC_PIC AUTOMOC
  SOURCES
    kopetecontactaction.cpp addcontactpage.cpp editaccountwidget.cpp
    kopetepassworddialog.ui kopetestdaction.cpp kopeteawaydialogbase.ui
    kopetefileconfirmdialog.cpp fileconfirmbase.ui
    userinfodialog.cpp kopeteview.cpp kopetepasswordwidgetbase.ui
    kopetepasswordwidget.cpp accountselector.cpp kopeteviewplugin.cpp
    addresseeitem.cpp addressbookselectorwidget_base.ui
    addressbookselectordialog.cpp addressbookselectorwidget.cpp
    metacontactselectorwidget_base.ui metacontactselectorwidget.cpp
    kopetelistview.cpp kopetelistviewitem.cpp kopetelistviewsearchline.cpp
    contactaddednotifywidget.ui contactaddednotifydialog.cpp
    addressbooklinkwidget_base.ui addressbooklinkwidget.cpp
  DEPENDENCIES
    kopeteui_base_headers
)