summaryrefslogtreecommitdiffstats
path: root/kpilot/conduits/memofileconduit/CMakeLists.txt
blob: 56994570fe20dc63151bcd96e0a6514c5736614b (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_memofile_SRCS
	memofile-factory.cc
	memofile.cc
	memofiles.cc
	memofile-conduit.cc
)

set(conduit_memofile_UIS
	setup_base.ui
)

set(conduit_memofile_KCFGS
	memofileSettings.kcfgc
)

kde3_add_kcfg_files(conduit_memofile_SRCS ${conduit_memofile_KCFGS})
kde3_add_ui_files(conduit_memofile_SRCS ${conduit_memofile_UIS})
kde3_automoc(${conduit_memofile_SRCS})
add_library(conduit_memofile SHARED ${conduit_memofile_SRCS})

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

kde3_install_libtool_file(conduit_memofile)

install(
	TARGETS conduit_memofile
	LIBRARY DESTINATION ${KDE3_PLUGIN_INSTALL_DIR}
)

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

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