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

set(conduit_null_SRCS
	null-conduit.cc
	null-factory.cc
)

set(conduit_null_UIS
	setup_base.ui
)

set(conduit_null_KCFGS
	nullSettings.kcfgc
)

kde3_add_kcfg_files(conduit_null_SRCS ${conduit_null_KCFGS})
kde3_add_ui_files(conduit_null_SRCS ${conduit_null_UIS})
kde3_automoc(${conduit_null_SRCS})
add_library(conduit_null SHARED ${conduit_null_SRCS})

set_target_properties(
	conduit_null PROPERTIES LOCATION ${KDE3_PLUGIN_INSTALL_DIR}
	INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib
	PREFIX ""
)

kde3_install_libtool_file(conduit_null)

install(
	TARGETS conduit_null
	LIBRARY DESTINATION ${KDE3_PLUGIN_INSTALL_DIR}
)

install(
	FILES null-conduit.desktop DESTINATION ${KDE3_SERVICES_DIR}
)