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/docconduit/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/docconduit/CMakeLists.txt')
-rw-r--r-- | kpilot/conduits/docconduit/CMakeLists.txt | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/kpilot/conduits/docconduit/CMakeLists.txt b/kpilot/conduits/docconduit/CMakeLists.txt new file mode 100644 index 000000000..fa87eb0fb --- /dev/null +++ b/kpilot/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) |