summaryrefslogtreecommitdiffstats
path: root/kuser/CMakeLists.txt
blob: f71abca505eed3fb1d1b08d2395165087bd73199 (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
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer

add_subdirectory( pic )
add_subdirectory( toolbar )
add_subdirectory( icon )

include_directories(
  ${CMAKE_BINARY_DIR}
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${CMAKE_SOURCE_DIR}/kuser
  ${TDE_INCLUDE_DIR}
  ${TQT_INCLUDE_DIRS}
)

link_directories(
  ${TQT_LIBRARY_DIRS}
  ${TDE_LIB_DIR}
)


##### kuser (executable) ########################

tde_add_executable( kuser AUTOMOC
  SOURCES mainWidget.cpp editGroup.cpp kuservw.cpp kgroupvw.cpp delUser.cpp
    kuser.cpp kgroup.cpp main.cpp mainView.cpp propdlg.cpp misc.cpp pwddlg.cpp
    addUser.cpp editDefaults.cpp tdeglobal.cpp sid.cpp kuserfiles.cpp
    kgroupfiles.cpp kuserldap.cpp kgroupldap.cpp kusersystem.cpp
    kgroupsystem.cpp selectconn.cpp sha1.cpp kuserprefs.kcfgc filessettings.ui
    generalsettings.ui ldapsettings.ui ldapsamba.ui passwordpolicy.ui
  LINK tdecore-shared tdeui-shared tdeio-shared tdeui-shared DCOP-shared tdefx
    tdetexteditor tdeabc_ldaptdeio tdeabc tdentlm
    ${CRYPT_LIBRARIES} ${SHADOW_LIBRARIES}
  DESTINATION ${BIN_INSTALL_DIR}
)


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

install( FILES kuserui.rc
  DESTINATION ${DATA_INSTALL_DIR}/kuser
)

install( FILES kuser.desktop
  DESTINATION ${XDG_APPS_INSTALL_DIR}
)

install( FILES kuser.kcfg
  DESTINATION ${KCFG_INSTALL_DIR}
)