summaryrefslogtreecommitdiffstats
path: root/conduits/docconduit/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/docconduit/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/docconduit/CMakeLists.txt')
-rw-r--r--conduits/docconduit/CMakeLists.txt87
1 files changed, 87 insertions, 0 deletions
diff --git a/conduits/docconduit/CMakeLists.txt b/conduits/docconduit/CMakeLists.txt
new file mode 100644
index 0000000..fa87eb0
--- /dev/null
+++ b/conduits/docconduit/CMakeLists.txt
@@ -0,0 +1,87 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+set(doc_shared_SRCS
+ makedoc9.cc
+ pilotDOCHead.cc
+ pilotDOCEntry.cc
+ pilotDOCBookmark.cc
+ DOC-converter.cc
+)
+
+set(conduit_doc_SRCS
+ ${doc_shared_SRCS}
+ kpalmdoc_dlg.cc
+ kpalmdoc.cpp
+ doc-factory.cc
+ doc-setup.cc
+ doc-conduit.cc
+ doc-conflictdialog.cc
+)
+
+set(conduit_doc_UIS
+ kpalmdoc_dlgbase.ui
+ doc-setupdialog.ui
+)
+
+set(conduit_doc_KCFGS
+ docconduitSettings.kcfgc
+ kpalmdocSettings.kcfgc
+)
+
+kde3_add_kcfg_files(conduit_doc_SRCS ${conduit_doc_KCFGS})
+kde3_add_ui_files(conduit_doc_SRCS ${conduit_doc_UIS})
+kde3_automoc(${conduit_doc_SRCS})
+add_library(conduit_doc SHARED ${conduit_doc_SRCS})
+
+kpilot_rpath(conduit_doc)
+
+set_target_properties(
+ conduit_doc PROPERTIES LOCATION ${KDE3_PLUGIN_INSTALL_DIR}
+ PREFIX ""
+)
+
+kde3_install_libtool_file(conduit_doc)
+
+install(
+ TARGETS conduit_doc
+ LIBRARY DESTINATION ${KDE3_PLUGIN_INSTALL_DIR}
+)
+
+set(kpalmdoc_SRCS
+ ${doc_shared_SRCS}
+ kpalmdoc_dlg.cc
+ kpalmdoc.cpp
+)
+kde3_add_kcfg_files(kpalmdoc_SRCS kpalmdocSettings.kcfgc)
+kde3_add_ui_files(kpalmdoc_SRCS kpalmdoc_dlgbase.ui)
+kde3_automoc(${kpalmdoc_SRCS})
+add_executable(kpalmdoc ${kpalmdoc_SRCS})
+target_link_libraries(kpalmdoc ${QT_LIBRARIES} kpilot kdeui kio)
+kpilot_rpath(kpalmdoc)
+
+install(
+ TARGETS kpalmdoc conduit_doc
+ LIBRARY DESTINATION ${KDE3_PLUGIN_INSTALL_DIR}
+ RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin
+)
+
+install(
+ FILES doc_conduit.desktop DESTINATION ${KDE3_SERVICES_DIR}
+)
+
+install(
+ FILES docconduit.kcfg kpalmdoc.kcfg DESTINATION ${KDE3_KCFG_DIR}
+)
+
+install(
+ FILES kpalmdoc.desktop DESTINATION ${KDE3_XDG_APPS_DIR}
+)
+
+install(
+ FILES kpalmdoc.upd
+ DESTINATION ${CMAKE_INSTALL_PREFIX}/share/apps/kconf_update
+)
+
+add_subdirectory(Icons)