~ubuntu-branches/ubuntu/saucy/kopete/saucy-proposed

« back to all changes in this revision

Viewing changes to plugins/privacy/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2013-06-21 02:22:39 UTC
  • Revision ID: package-import@ubuntu.com-20130621022239-63l3zc8p0nf26pt6
Tags: upstream-4.10.80
ImportĀ upstreamĀ versionĀ 4.10.80

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
#add_subdirectory( icons ) 
 
3
 
 
4
include_directories( 
 
5
${KOPETE_INCLUDES} 
 
6
)
 
7
 
 
8
#common lib
 
9
set(kopete_privacy_LIB_SRCS privacymessagehandler.cpp privacyaccountlistmodel.cpp)
 
10
kde4_add_kcfg_files(kopete_privacy_LIB_SRCS privacyconfig.kcfgc )
 
11
kde4_add_library( kopeteprivacy SHARED ${kopete_privacy_LIB_SRCS})
 
12
target_link_libraries( kopeteprivacy ${KDE4_KDEUI_LIBS} kopete )
 
13
set_target_properties( kopeteprivacy PROPERTIES VERSION 1.0.0 SOVERSION 1 )
 
14
install( TARGETS kopeteprivacy ${INSTALL_TARGETS_DEFAULT_ARGS})
 
15
 
 
16
########### next target ###############
 
17
 
 
18
set(kopete_privacy_PART_SRCS privacyplugin.cpp privacyguiclient.cpp)
 
19
kde4_add_plugin(kopete_privacy ${kopete_privacy_PART_SRCS})
 
20
target_link_libraries(kopete_privacy  ${KDE4_KDEUI_LIBS} kopete kopeteprivacy )
 
21
install(TARGETS kopete_privacy  DESTINATION ${PLUGIN_INSTALL_DIR})
 
22
 
 
23
 
 
24
########### next target ###############
 
25
 
 
26
set(kcm_kopete_privacy_PART_SRCS privacypreferences.cpp contactselectorwidget.cpp )
 
27
kde4_add_ui_files(kcm_kopete_privacy_PART_SRCS privacydialog.ui contactselectorwidget_base.ui )
 
28
kde4_add_plugin(kcm_kopete_privacy ${kcm_kopete_privacy_PART_SRCS})
 
29
target_link_libraries(kcm_kopete_privacy  ${KDE4_KUTILS_LIBS} ${QT_QT3SUPPORT_LIBRARY} kopete kopeteprivacy )
 
30
install(TARGETS kcm_kopete_privacy  DESTINATION ${PLUGIN_INSTALL_DIR})
 
31
 
 
32
 
 
33
########### install files ###############
 
34
 
 
35
install( FILES privacyui.rc  privacychatui.rc  DESTINATION ${DATA_INSTALL_DIR}/kopete_privacy)
 
36
install( FILES kopete_privacy.desktop  DESTINATION ${SERVICES_INSTALL_DIR})
 
37
install( FILES kopete_privacy_config.desktop  DESTINATION ${SERVICES_INSTALL_DIR}/kconfiguredialog)