diff options
author | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-23 20:22:40 +0000 |
---|---|---|
committer | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-23 20:22:40 +0000 |
commit | cf21ddc3cce570e574364e841758b59c0f8e8e04 (patch) | |
tree | 9f79e4569bb2991b4de8c25dd23795126ac0914c /parts/documentation | |
parent | f9c30e41d26594598abaa8315c4488b6c5ff38ea (diff) | |
download | tdevelop-cf21ddc3cce570e574364e841758b59c0f8e8e04.tar.gz tdevelop-cf21ddc3cce570e574364e841758b59c0f8e8e04.zip |
[kdevelop] initial cmake support
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1216516 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/documentation')
-rw-r--r-- | parts/documentation/CMakeLists.txt | 58 | ||||
-rw-r--r-- | parts/documentation/data/CMakeLists.txt | 18 | ||||
-rw-r--r-- | parts/documentation/interfaces/CMakeLists.txt | 44 | ||||
-rw-r--r-- | parts/documentation/plugins/CMakeLists.txt | 17 | ||||
-rw-r--r-- | parts/documentation/plugins/chm/CMakeLists.txt | 39 | ||||
-rw-r--r-- | parts/documentation/plugins/custom/CMakeLists.txt | 37 | ||||
-rw-r--r-- | parts/documentation/plugins/devhelp/CMakeLists.txt | 39 | ||||
-rw-r--r-- | parts/documentation/plugins/doxygen/CMakeLists.txt | 39 | ||||
-rw-r--r-- | parts/documentation/plugins/kdevtoc/CMakeLists.txt | 39 | ||||
-rw-r--r-- | parts/documentation/plugins/qt/CMakeLists.txt | 39 | ||||
-rw-r--r-- | parts/documentation/protocols/CMakeLists.txt | 12 | ||||
-rw-r--r-- | parts/documentation/protocols/chm/CMakeLists.txt | 48 | ||||
-rw-r--r-- | parts/documentation/tools/CMakeLists.txt | 12 | ||||
-rw-r--r-- | parts/documentation/tools/htdig/CMakeLists.txt | 29 |
14 files changed, 470 insertions, 0 deletions
diff --git a/parts/documentation/CMakeLists.txt b/parts/documentation/CMakeLists.txt new file mode 100644 index 00000000..0c02a06b --- /dev/null +++ b/parts/documentation/CMakeLists.txt @@ -0,0 +1,58 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( interfaces ) +add_subdirectory( plugins ) +add_subdirectory( tools ) +add_subdirectory( data ) +add_subdirectory( protocols ) + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kdevdocumentation.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevpart_documentation.rc DESTINATION ${DATA_INSTALL_DIR}/kdevdocumentation ) + + +##### libkdevdocumentation (module) ############# + +tde_add_kpart( libkdevdocumentation AUTOMOC + SOURCES + documentation_part.cpp documentation_widget.cpp + contentsview.cpp indexview.cpp docglobalconfigwidgetbase.ui + docglobalconfigwidget.cpp docconfiglistview.cpp + editcatalogdlgbase.ui editcatalogdlg.cpp + docutils.cpp searchview.cpp bookmarkview.cpp + editbookmarkdlg.ui find_documentationbase.ui + find_documentation.cpp find_documentation_optionsbase.ui + find_documentation_options.cpp selecttopicbase.ui + selecttopic.cpp docprojectconfigwidgetbase.ui + docprojectconfigwidget.cpp KDevDocumentationIface.cpp + KDevDocumentationIface.skel addcatalogdlgbase.ui + addcatalogdlg.cpp + LINK documentation_interfaces-shared kdevelop-shared khtml-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/documentation/data/CMakeLists.txt b/parts/documentation/data/CMakeLists.txt new file mode 100644 index 00000000..77d380d4 --- /dev/null +++ b/parts/documentation/data/CMakeLists.txt @@ -0,0 +1,18 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + long.html nomatch.html short.html syntax.html wrapper.html + DESTINATION ${DATA_INSTALL_DIR}/kdevdocumentation/en ) + +install( FILES + checked.xpm htdig.png star.png star_blank.png unchecked.xpm + DESTINATION ${DATA_INSTALL_DIR}/kdevdocumentation/pics ) diff --git a/parts/documentation/interfaces/CMakeLists.txt b/parts/documentation/interfaces/CMakeLists.txt new file mode 100644 index 00000000..8550a5cf --- /dev/null +++ b/parts/documentation/interfaces/CMakeLists.txt @@ -0,0 +1,44 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### headers ################################### + +install( FILES + kdevdocumentationplugin.h + DESTINATION ${INCLUDE_INSTALL_DIR}/kdevelop/parts/documentation ) + + +##### other data ################################ + +install( FILES + kdevelopdocumentationplugins.desktop + DESTINATION ${SERVICETYPES_INSTALL_DIR} ) + + +##### documentation_interfaces (shared) ######### + +tde_add_library( documentation_interfaces SHARED AUTOMOC + SOURCES kdevdocumentationplugin.cpp + VERSION 0.0.0 + LINK kio-shared + DESTINATION ${LIB_INSTALL_DIR} +) diff --git a/parts/documentation/plugins/CMakeLists.txt b/parts/documentation/plugins/CMakeLists.txt new file mode 100644 index 00000000..281c40f8 --- /dev/null +++ b/parts/documentation/plugins/CMakeLists.txt @@ -0,0 +1,17 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( qt ) +add_subdirectory( doxygen ) +add_subdirectory( devhelp ) +add_subdirectory( kdevtoc ) +add_subdirectory( chm ) +add_subdirectory( custom ) diff --git a/parts/documentation/plugins/chm/CMakeLists.txt b/parts/documentation/plugins/chm/CMakeLists.txt new file mode 100644 index 00000000..d0f18aea --- /dev/null +++ b/parts/documentation/plugins/chm/CMakeLists.txt @@ -0,0 +1,39 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/util + ${CMAKE_SOURCE_DIR}/parts/documentation/interfaces + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES docchmplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libdocchmplugin (module) ################## + +tde_add_kpart( libdocchmplugin AUTOMOC + SOURCES docchmplugin.cpp + LINK documentation_interfaces-shared kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/documentation/plugins/custom/CMakeLists.txt b/parts/documentation/plugins/custom/CMakeLists.txt new file mode 100644 index 00000000..0715ad11 --- /dev/null +++ b/parts/documentation/plugins/custom/CMakeLists.txt @@ -0,0 +1,37 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/parts/documentation/interfaces + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES doccustomplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libdoccustomplugin (module) ############### + +tde_add_kpart( libdoccustomplugin + SOURCES doccustomplugin.cpp + LINK documentation_interfaces-shared kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/documentation/plugins/devhelp/CMakeLists.txt b/parts/documentation/plugins/devhelp/CMakeLists.txt new file mode 100644 index 00000000..f877d04a --- /dev/null +++ b/parts/documentation/plugins/devhelp/CMakeLists.txt @@ -0,0 +1,39 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/util + ${CMAKE_SOURCE_DIR}/parts/documentation/interfaces + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES docdevhelpplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libdocdevhelpplugin (module) ############## + +tde_add_kpart( libdocdevhelpplugin AUTOMOC + SOURCES docdevhelpplugin.cpp + LINK documentation_interfaces-shared kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/documentation/plugins/doxygen/CMakeLists.txt b/parts/documentation/plugins/doxygen/CMakeLists.txt new file mode 100644 index 00000000..3f54572e --- /dev/null +++ b/parts/documentation/plugins/doxygen/CMakeLists.txt @@ -0,0 +1,39 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/util + ${CMAKE_SOURCE_DIR}/parts/documentation/interfaces + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES docdoxygenplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libdocdoxygenplugin (module) ############## + +tde_add_kpart( libdocdoxygenplugin AUTOMOC + SOURCES docdoxygenplugin.cpp + LINK documentation_interfaces-shared kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/documentation/plugins/kdevtoc/CMakeLists.txt b/parts/documentation/plugins/kdevtoc/CMakeLists.txt new file mode 100644 index 00000000..80d66f4f --- /dev/null +++ b/parts/documentation/plugins/kdevtoc/CMakeLists.txt @@ -0,0 +1,39 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/util + ${CMAKE_SOURCE_DIR}/parts/documentation/interfaces + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES dockdevtocplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libdockdevtocplugin (module) ############## + +tde_add_kpart( libdockdevtocplugin AUTOMOC + SOURCES dockdevtocplugin.cpp + LINK documentation_interfaces-shared kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/documentation/plugins/qt/CMakeLists.txt b/parts/documentation/plugins/qt/CMakeLists.txt new file mode 100644 index 00000000..c0e0c624 --- /dev/null +++ b/parts/documentation/plugins/qt/CMakeLists.txt @@ -0,0 +1,39 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/util + ${CMAKE_SOURCE_DIR}/parts/documentation/interfaces + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES docqtplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libdocqtplugin (module) ################### + +tde_add_kpart( libdocqtplugin AUTOMOC + SOURCES docqtplugin.cpp + LINK documentation_interfaces-shared kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/documentation/protocols/CMakeLists.txt b/parts/documentation/protocols/CMakeLists.txt new file mode 100644 index 00000000..5351c010 --- /dev/null +++ b/parts/documentation/protocols/CMakeLists.txt @@ -0,0 +1,12 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( chm ) diff --git a/parts/documentation/protocols/chm/CMakeLists.txt b/parts/documentation/protocols/chm/CMakeLists.txt new file mode 100644 index 00000000..49745057 --- /dev/null +++ b/parts/documentation/protocols/chm/CMakeLists.txt @@ -0,0 +1,48 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_definitions( ${KDE_PLUGIN} ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/widgets + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES + chm.protocol kchmpart.desktop + DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### kio_chm (module) ########################## + +tde_add_kpart( kio_chm + SOURCES decompress.cpp chmfile.cpp chm.cpp + LINK kio-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### libkchmpart (module) ###################### + +tde_add_kpart( libkchmpart AUTOMOC + SOURCES kchmpart.cpp + LINK kdevwidgets-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/parts/documentation/tools/CMakeLists.txt b/parts/documentation/tools/CMakeLists.txt new file mode 100644 index 00000000..dc701198 --- /dev/null +++ b/parts/documentation/tools/CMakeLists.txt @@ -0,0 +1,12 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( htdig ) diff --git a/parts/documentation/tools/htdig/CMakeLists.txt b/parts/documentation/tools/htdig/CMakeLists.txt new file mode 100644 index 00000000..b42e0d6f --- /dev/null +++ b/parts/documentation/tools/htdig/CMakeLists.txt @@ -0,0 +1,29 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### kdevelop-htdig (executable) ############### + +tde_add_executable( kdevelop-htdig AUTOMOC + SOURCES htdigindex.cpp + LINK kio-shared + DESTINATION ${BIN_INSTALL_DIR} +) |