diff options
Diffstat (limited to 'conduits/memofileconduit')
-rw-r--r-- | conduits/memofileconduit/CMakeLists.txt | 50 |
1 files changed, 20 insertions, 30 deletions
diff --git a/conduits/memofileconduit/CMakeLists.txt b/conduits/memofileconduit/CMakeLists.txt index bece12c..92a4bfe 100644 --- a/conduits/memofileconduit/CMakeLists.txt +++ b/conduits/memofileconduit/CMakeLists.txt @@ -1,44 +1,34 @@ + 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_memofile_SRCS - memofile-factory.cc - memofile.cc - memofiles.cc - memofile-conduit.cc +link_directories( + ${TQT_LIBRARY_DIRS} ) -set(conduit_memofile_UIS - setup_base.ui -) -set(conduit_memofile_KCFGS - memofileSettings.kcfgc -) +##### conduit_memofile (kpart) ################## -kde3_add_kcfg_files(conduit_memofile_SRCS ${conduit_memofile_KCFGS}) -trinity_add_ui_files(conduit_memofile_SRCS ${conduit_memofile_UIS}) -trinity_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 "" +tde_add_kpart( conduit_memofile AUTOMOC + SOURCES memofileSettings.kcfgc setup_base.ui memofile-factory.cc + memofile.cc memofiles.cc memofile-conduit.cc + LINK kpilot-shared tdeui-shared + DESTINATION ${PLUGIN_INSTALL_DIR} ) -trinity_install_libtool_file(conduit_memofile) -install( - TARGETS conduit_memofile - LIBRARY DESTINATION ${KDE3_PLUGIN_INSTALL_DIR} -) +##### other data ################################ -install( - FILES memofile-conduit.desktop DESTINATION ${KDE3_SERVICES_DIR} +install( FILES memofile-conduit.desktop + DESTINATION ${SERVICES_INSTALL_DIR} ) -install( - FILES memofileconduit.kcfg DESTINATION ${KDE3_KCFG_DIR} +install( FILES memofileconduit.kcfg + DESTINATION ${KCFG_INSTALL_DIR} ) |