summaryrefslogtreecommitdiffstats
path: root/conduits/null/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'conduits/null/CMakeLists.txt')
-rw-r--r--conduits/null/CMakeLists.txt45
1 files changed, 20 insertions, 25 deletions
diff --git a/conduits/null/CMakeLists.txt b/conduits/null/CMakeLists.txt
index 3b689e0..065779e 100644
--- a/conduits/null/CMakeLists.txt
+++ b/conduits/null/CMakeLists.txt
@@ -1,38 +1,33 @@
+
include_directories(
- ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/lib
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
)
-set(conduit_null_SRCS
- null-conduit.cc
- null-factory.cc
+link_directories(
+ ${TQT_LIBRARY_DIRS}
)
-set(conduit_null_UIS
- setup_base.ui
-)
-set(conduit_null_KCFGS
- nullSettings.kcfgc
-)
+##### conduit_null (kpart) ######################
-kde3_add_kcfg_files(conduit_null_SRCS ${conduit_null_KCFGS})
-trinity_add_ui_files(conduit_null_SRCS ${conduit_null_UIS})
-trinity_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 ""
+tde_add_kpart( conduit_null AUTOMOC
+ SOURCES nullSettings.kcfgc setup_base.ui null-conduit.cc null-factory.cc
+ LINK kpilot-shared tdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
)
-trinity_install_libtool_file(conduit_null)
-install(
- TARGETS conduit_null
- LIBRARY DESTINATION ${KDE3_PLUGIN_INSTALL_DIR}
+##### other data ################################
+
+install( FILES null-conduit.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
)
-install(
- FILES null-conduit.desktop DESTINATION ${KDE3_SERVICES_DIR}
+install( FILES nullconduit.kcfg
+ DESTINATION ${KCFG_INSTALL_DIR}
)