summaryrefslogtreecommitdiffstats
path: root/conduits/timeconduit/CMakeLists.txt
blob: abf1e27588fe50733e13c491501a8b3dfb442231 (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
include_directories(
	${CMAKE_CURRENT_BINARY_DIR}
)

set(conduit_time_SRCS
	time-conduit.cc
	time-factory.cc
	time-setup.cc
)

set(conduit_time_UIS
	time-setup_dialog.ui
)

set(conduit_time_KCFGS
	timeConduitSettings.kcfgc
)

kde3_add_kcfg_files(conduit_time_SRCS ${conduit_time_KCFGS})
trinity_add_ui_files(conduit_time_SRCS ${conduit_time_UIS})
trinity_automoc(${conduit_time_SRCS})
add_library(conduit_time SHARED ${conduit_time_SRCS})

kpilot_rpath(conduit_time)

set_target_properties(
	conduit_time PROPERTIES LOCATION ${KDE3_PLUGIN_INSTALL_DIR}
	PREFIX ""
)

trinity_install_libtool_file(conduit_time)

install(
	TARGETS conduit_time
	LIBRARY DESTINATION ${KDE3_PLUGIN_INSTALL_DIR}
)

install(
	FILES time_conduit.desktop DESTINATION ${KDE3_SERVICES_DIR}
)

install(
	FILES timeconduit.kcfg DESTINATION ${KDE3_KCFG_DIR}
)