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 /languages/lib | |
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 'languages/lib')
-rw-r--r-- | languages/lib/CMakeLists.txt | 14 | ||||
-rw-r--r-- | languages/lib/debugger/CMakeLists.txt | 38 | ||||
-rw-r--r-- | languages/lib/designer_integration/CMakeLists.txt | 44 | ||||
-rw-r--r-- | languages/lib/interfaces/CMakeLists.txt | 40 |
4 files changed, 136 insertions, 0 deletions
diff --git a/languages/lib/CMakeLists.txt b/languages/lib/CMakeLists.txt new file mode 100644 index 00000000..ceebbdc0 --- /dev/null +++ b/languages/lib/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (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( debugger ) +add_subdirectory( designer_integration ) diff --git a/languages/lib/debugger/CMakeLists.txt b/languages/lib/debugger/CMakeLists.txt new file mode 100644 index 00000000..5e4e118f --- /dev/null +++ b/languages/lib/debugger/CMakeLists.txt @@ -0,0 +1,38 @@ +################################################# +# +# (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} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### headers ################################### + +install( FILES + debugger.h kdevdebugger.h + DESTINATION ${INCLUDE_INSTALL_DIR}/kdevelop/languages/debugger ) + + +##### lang_debugger (shared) #################### + +tde_add_library( lang_debugger SHARED AUTOMOC + SOURCES kdevdebugger.cpp debugger.cpp + VERSION 0.0.0 + LINK ktexteditor-shared + DESTINATION ${LIB_INSTALL_DIR} +) diff --git a/languages/lib/designer_integration/CMakeLists.txt b/languages/lib/designer_integration/CMakeLists.txt new file mode 100644 index 00000000..ca493996 --- /dev/null +++ b/languages/lib/designer_integration/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} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions + ${CMAKE_SOURCE_DIR}/lib/interfaces/external + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### headers ################################### + +install( FILES + qtdesignerintegration.h implementationwidget.h + ${CMAKE_CURRENT_BINARY_DIR}/implementationwidgetbase.h + DESTINATION ${INCLUDE_INSTALL_DIR}/kdevelop/languages/designer_integration ) + + +##### designerintegration (shared) ############## + +tde_add_library( designerintegration SHARED AUTOMOC + SOURCES + implementationwidgetbase.ui implementationwidget.cpp + qtdesignerintegration.cpp + VERSION 0.0.0 + LINK kdevelop-shared + DESTINATION ${LIB_INSTALL_DIR} +) diff --git a/languages/lib/interfaces/CMakeLists.txt b/languages/lib/interfaces/CMakeLists.txt new file mode 100644 index 00000000..dc4eea21 --- /dev/null +++ b/languages/lib/interfaces/CMakeLists.txt @@ -0,0 +1,40 @@ +################################################# +# +# (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 kdevpcsimporter.h DESTINATION ${INCLUDE_INSTALL_DIR}/kdevelop/languages/interfaces ) + + +##### other data ################################ + +install( FILES kdeveloppcsimporter.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} ) + + +##### lang_interfaces (shared) ################## + +tde_add_library( lang_interfaces SHARED AUTOMOC + SOURCES kdevpcsimporter.cpp + VERSION 0.0.0 + LINK ${TQT_LIBRARIES} + DESTINATION ${LIB_INSTALL_DIR} +) |