~ubuntu-branches/ubuntu/utopic/kde-workspace/utopic-proposed

« back to all changes in this revision

Viewing changes to kdm/kcm/CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Michał Zając
  • Date: 2011-07-09 08:31:15 UTC
  • Revision ID: james.westby@ubuntu.com-20110709083115-ohyxn6z93mily9fc
Tags: upstream-4.6.90
Import upstream version 4.6.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
add_subdirectory( background )
 
2
 
 
3
include_directories( ${QIMAGEBLITZ_INCLUDES} )
 
4
include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/background/  )
 
5
 
 
6
set(kcmbackgroundlib_SRCS
 
7
    background/bgdialog.cpp
 
8
    background/bgadvanced.cpp
 
9
    background/bgmonitor.cpp
 
10
    background/bgwallpaper.cpp
 
11
)
 
12
kde4_add_ui_files(kcmbackgroundlib_SRCS
 
13
    background/bgwallpaper_ui.ui
 
14
    background/bgdialog_ui.ui
 
15
    background/bgadvanced_ui.ui)
 
16
 
 
17
set(kcm_kdm_PART_SRCS ${kcmbackgroundlib_SRCS} ${backgroundlib_SRCS}
 
18
   background.cpp
 
19
   kdm-gen.cpp
 
20
   kdm-dlg.cpp
 
21
   kdm-theme.cpp
 
22
   kdm-shut.cpp
 
23
   kdm-users.cpp
 
24
   kdm-conv.cpp
 
25
   main.cpp
 
26
   kbackedcombobox.cpp
 
27
   positioner.cpp)
 
28
 
 
29
 
 
30
kde4_add_plugin(kcm_kdm ${kcm_kdm_PART_SRCS})
 
31
 
 
32
 
 
33
target_link_libraries(kcm_kdm ${KDE4_KIO_LIBS} ${QIMAGEBLITZ_LIBRARIES} ${KDE4_KNEWSTUFF3_LIBS} ${X11_LIBRARIES} kworkspace)
 
34
 
 
35
macro_add_file_dependencies(kdm-shut.cpp ${confci})
 
36
add_dependencies(kcm_kdm ConfigCi)
 
37
 
 
38
install(TARGETS kcm_kdm  DESTINATION ${PLUGIN_INSTALL_DIR})
 
39
 
 
40
#### KAuth helper and actions ####
 
41
kde4_add_executable(kcmkdmhelper helper.cpp)
 
42
target_link_libraries(kcmkdmhelper ${KDE4_KDECORE_LIBS})
 
43
install(TARGETS kcmkdmhelper DESTINATION ${LIBEXEC_INSTALL_DIR})
 
44
 
 
45
kde4_install_auth_helper_files(kcmkdmhelper org.kde.kcontrol.kcmkdm root)
 
46
 
 
47
kde4_install_auth_actions(org.kde.kcontrol.kcmkdm kcmkdm_actions.actions)
 
48
 
 
49
########### install files ###############
 
50
 
 
51
install( FILES kdm.desktop  DESTINATION  ${SERVICES_INSTALL_DIR} )
 
52
 
 
53
install( FILES anchor.png  DESTINATION  ${DATA_INSTALL_DIR}/kcontrol/pics )
 
54
install( FILES kdm.knsrc DESTINATION ${CONFIG_INSTALL_DIR} )