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

set(conduit_abbrowser_SRCS
	resolutionDialog.cc
	abbrowser-factory.cc
	abbrowser-setup.cc
	tdeabcRecord.cc
	abbrowser-conduit.cc
)

set(conduit_abbrowser_UIS
	resolutionDialog_base.ui
	kaddressbookConduit.ui
)

set(conduit_abbrowser_KCFGS
	abbrowserSettings.kcfgc
)

kde3_add_kcfg_files(conduit_abbrowser_SRCS ${conduit_abbrowser_KCFGS})
trinity_add_ui_files(conduit_abbrowser_SRCS ${conduit_abbrowser_UIS})
trinity_automoc(${conduit_abbrowser_SRCS})
add_library(conduit_address SHARED ${conduit_abbrowser_SRCS})
target_link_libraries(conduit_address tdeabc_file tdeabc)
set_target_properties(conduit_address PROPERTIES LOCATION ${KDE3_PLUGIN_INSTALL_DIR}
	INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib
	PREFIX ""
)

trinity_install_libtool_file(conduit_address)

install(
	TARGETS conduit_address
	LIBRARY DESTINATION ${KDE3_PLUGIN_INSTALL_DIR}
)

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

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