diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 460c52653ab0dcca6f19a4f492ed2c5e4e963ab0 (patch) | |
tree | 67208f7c145782a7e90b123b982ca78d88cc2c87 /kpilot/conduits/vcalconduit/CMakeLists.txt | |
download | tdepim-460c52653ab0dcca6f19a4f492ed2c5e4e963ab0.tar.gz tdepim-460c52653ab0dcca6f19a4f492ed2c5e4e963ab0.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpilot/conduits/vcalconduit/CMakeLists.txt')
-rw-r--r-- | kpilot/conduits/vcalconduit/CMakeLists.txt | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/kpilot/conduits/vcalconduit/CMakeLists.txt b/kpilot/conduits/vcalconduit/CMakeLists.txt new file mode 100644 index 000000000..21482355f --- /dev/null +++ b/kpilot/conduits/vcalconduit/CMakeLists.txt @@ -0,0 +1,75 @@ +set(conduit_LIBS kcal) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} +) + +set(conduit_SHARED + vcal-setupbase.cc + vcal-conduitbase.cc + teststate.cc + initstate.cc + pctohhstate.cc + hhtopcstate.cc + cleanupstate.cc + deleteunsyncedpcstate.cc + deleteunsyncedhhstate.cc + kcalRecord.cc + vcalRecord.cc + todoRecord.cc +) + +kde3_add_kcfg_files(conduit_SHARED vcalconduitSettings.kcfgc) +kde3_add_ui_files(conduit_SHARED korganizerConduit.ui) + +set(conduit_vcal_SRCS + ${conduit_SHARED} + vcal-conduit.cc + vcal-factory.cc + vcal-setup.cc +) + +kde3_automoc(${conduit_vcal_SRCS}) +add_library(conduit_vcal SHARED ${conduit_vcal_SRCS}) +target_link_libraries(conduit_vcal kcal) + +set(conduit_todo_SRCS + ${conduit_SHARED} + todo-factory.cc + todo-setup.cc + todo-conduit.cc +) + +kde3_automoc(${conduit_todo_SRCS}) +add_library(conduit_todo SHARED ${conduit_todo_SRCS}) +target_link_libraries(conduit_todo kcal) + +set_target_properties( + conduit_vcal PROPERTIES LOCATION ${KDE3_PLUGIN_INSTALL_DIR} + INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib + PREFIX "" +) +set_target_properties( + conduit_todo PROPERTIES LOCATION ${KDE3_PLUGIN_INSTALL_DIR} + INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib + PREFIX "" +) + +kde3_install_libtool_file(conduit_vcal) + +install( + TARGETS conduit_vcal conduit_todo + LIBRARY DESTINATION ${KDE3_PLUGIN_INSTALL_DIR} + LIBRARY DESTINATION ${KDE3_PLUGIN_INSTALL_DIR} +) + +kde3_install_libtool_file(conduit_todo) + +install( + FILES vcal-conduit.desktop todo-conduit.desktop + DESTINATION ${KDE3_SERVICES_DIR} +) + +install( + FILES vcalconduitbase.kcfg DESTINATION ${KDE3_KCFG_DIR} +) |