summaryrefslogtreecommitdiffstats
path: root/conduits/vcalconduit/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/vcalconduit/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/vcalconduit/CMakeLists.txt')
-rw-r--r--conduits/vcalconduit/CMakeLists.txt75
1 files changed, 75 insertions, 0 deletions
diff --git a/conduits/vcalconduit/CMakeLists.txt b/conduits/vcalconduit/CMakeLists.txt
new file mode 100644
index 0000000..2148235
--- /dev/null
+++ b/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}
+)