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

add_subdirectory( pics )
add_subdirectory( toolbar )

include_directories(
  ${CMAKE_BINARY_DIR}
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${TDE_INCLUDE_DIR}
  ${TQT_INCLUDE_DIRS}
)

link_directories(
  ${TQT_LIBRARY_DIRS}
  ${TDE_LIB_DIR}
)


##### ksysv (executable) ########################

tde_add_executable( ksysv AUTOMOC
  SOURCES main.cpp ActionList.cpp IOCore.cpp ksvdraglist.cpp
    RunlevelAuthIcon.cpp OldView.cpp Properties.cpp SpinBox.cpp ServiceDlg.cpp
    TopWidget.cpp Data.cpp ksv_conf.cpp ksvapplication.cpp kdltooltip.cpp
    ksv_core.cpp ksvdrag.cpp kscroller.cpp ksv_service.cpp leveldb.c
    PreferencesDialog.cpp trash.cpp pathconfig.ui ksvpathconfig.cpp
    miscconfig.ui ksvmiscconfig.cpp lookandfeelconfig.ui ksvlookandfeel.cpp
    configwizard.ui ksvconfigwizard.cpp kbusymanager.cpp
  LINK tdecore-shared tdeui-shared tdeio-shared tdeprint-shared
  DESTINATION ${BIN_INSTALL_DIR}
)


##### icons #####################################

tde_install_icons( )


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

install( FILES ksysvui.rc
  DESTINATION ${DATA_INSTALL_DIR}/ksysv
)

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

install( FILES x-ksysv-log.desktop
  DESTINATION ${MIME_INSTALL_DIR}/text
)

install( FILES x-ksysv.desktop
  DESTINATION ${MIME_INSTALL_DIR}/application
)