summaryrefslogtreecommitdiffstats
path: root/kpilot/conduits/null/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'kpilot/conduits/null/CMakeLists.txt')
-rw-r--r--kpilot/conduits/null/CMakeLists.txt38
1 files changed, 38 insertions, 0 deletions
diff --git a/kpilot/conduits/null/CMakeLists.txt b/kpilot/conduits/null/CMakeLists.txt
new file mode 100644
index 000000000..b2fdbb8ad
--- /dev/null
+++ b/kpilot/conduits/null/CMakeLists.txt
@@ -0,0 +1,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}
+)