summaryrefslogtreecommitdiffstats
path: root/conduits/sysinfoconduit/CMakeLists.txt
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitcb7eddb91455a69cf66fcd717e91a51ca5e2cfef (patch)
treecf5546e4d7c44370fbe9ca2be937bd254f30ebaa /conduits/sysinfoconduit/CMakeLists.txt
downloadkpilot-cb7eddb91455a69cf66fcd717e91a51ca5e2cfef.tar.gz
kpilot-cb7eddb91455a69cf66fcd717e91a51ca5e2cfef.zip
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kpilot@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'conduits/sysinfoconduit/CMakeLists.txt')
-rw-r--r--conduits/sysinfoconduit/CMakeLists.txt50
1 files changed, 50 insertions, 0 deletions
diff --git a/conduits/sysinfoconduit/CMakeLists.txt b/conduits/sysinfoconduit/CMakeLists.txt
new file mode 100644
index 0000000..cae6d89
--- /dev/null
+++ b/conduits/sysinfoconduit/CMakeLists.txt
@@ -0,0 +1,50 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+set(conduit_sysinfo_SRCS
+ sysinfo-setup.cc
+ sysinfo-factory.cc
+ sysinfo-conduit.cc
+)
+
+set(conduit_sysinfo_UIS
+ sysinfo-setup_dialog.ui
+)
+
+set(conduit_sysinfo_KCFGS
+ sysinfoSettings.kcfgc
+)
+
+kde3_add_kcfg_files(conduit_sysinfo_SRCS ${conduit_sysinfo_KCFGS})
+kde3_add_ui_files(conduit_sysinfo_SRCS ${conduit_sysinfo_UIS})
+kde3_automoc(${conduit_sysinfo_SRCS})
+add_library(conduit_sysinfo SHARED ${conduit_sysinfo_SRCS})
+
+set_target_properties(
+ conduit_sysinfo PROPERTIES LOCATION ${KDE3_PLUGIN_INSTALL_DIR}
+ INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib
+ PREFIX ""
+)
+
+kde3_install_libtool_file(conduit_sysinfo)
+
+install(
+ TARGETS conduit_sysinfo
+ LIBRARY DESTINATION ${KDE3_PLUGIN_INSTALL_DIR}
+)
+
+install(
+ FILES sysinfo_conduit.desktop DESTINATION ${KDE3_SERVICES_DIR}
+)
+
+install(
+ FILES sysinfoSettings.kcfgc sysinfoconduit.kcfg
+ DESTINATION ${KDE3_KCFG_DIR}
+)
+
+install(
+ FILES Template.html Template.txt
+ DESTINATION ${CMAKE_INSTALL_PREFIX}/share/apps/kpilot/sysinfoconduit
+)
+