summaryrefslogtreecommitdiffstats
path: root/languages/lib
diff options
context:
space:
mode:
Diffstat (limited to 'languages/lib')
-rw-r--r--languages/lib/CMakeLists.txt14
-rw-r--r--languages/lib/debugger/CMakeLists.txt38
-rw-r--r--languages/lib/designer_integration/CMakeLists.txt44
-rw-r--r--languages/lib/interfaces/CMakeLists.txt40
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}
+)