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

set(conduit_knotes_SRCS
	knotes-factory.cc
	knotes-setup.cc
	knotes-action.cc
)

set(conduit_knotes_UIS
	setup_base.ui
)

set(conduit_knotes_KCFGS
	knotesconduitSettings.kcfgc
)

#set(conduit_knotes_STUBS
#	KNotesIface.h
#)

#trinity_add_dcop_skels(conduit_knotes_SRCS ${conduit_knotes_STUBS})
#trinity_add_dcop_stubs(conduit_knotes_SRCS ${conduit_knotes_STUBS})

trinity_add_kcfg_files(conduit_knotes_SRCS ${conduit_knotes_KCFGS})
trinity_add_ui_files(conduit_knotes_SRCS ${conduit_knotes_UIS})
trinity_automoc(${conduit_knotes_SRCS})

add_library(conduit_knotes SHARED ${conduit_knotes_SRCS})
target_link_libraries(conduit_knotes kcal)

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

trinity_install_libtool_file(conduit_knotes)

install(
	TARGETS conduit_knotes
	LIBRARY DESTINATION ${KDE3_PLUGIN_INSTALL_DIR}
)

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

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