summaryrefslogtreecommitdiffstats
path: root/languages/cpp/pcsimporter
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-23 20:22:40 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-23 20:22:40 +0000
commitcf21ddc3cce570e574364e841758b59c0f8e8e04 (patch)
tree9f79e4569bb2991b4de8c25dd23795126ac0914c /languages/cpp/pcsimporter
parentf9c30e41d26594598abaa8315c4488b6c5ff38ea (diff)
downloadtdevelop-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/cpp/pcsimporter')
-rw-r--r--languages/cpp/pcsimporter/CMakeLists.txt15
-rw-r--r--languages/cpp/pcsimporter/customimporter/CMakeLists.txt38
-rw-r--r--languages/cpp/pcsimporter/kdelibsimporter/CMakeLists.txt38
-rw-r--r--languages/cpp/pcsimporter/qt4importer/CMakeLists.txt38
-rw-r--r--languages/cpp/pcsimporter/qtimporter/CMakeLists.txt37
5 files changed, 166 insertions, 0 deletions
diff --git a/languages/cpp/pcsimporter/CMakeLists.txt b/languages/cpp/pcsimporter/CMakeLists.txt
new file mode 100644
index 00000000..7f070539
--- /dev/null
+++ b/languages/cpp/pcsimporter/CMakeLists.txt
@@ -0,0 +1,15 @@
+#################################################
+#
+# (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( qtimporter )
+add_subdirectory( kdelibsimporter )
+add_subdirectory( customimporter )
+add_subdirectory( qt4importer )
diff --git a/languages/cpp/pcsimporter/customimporter/CMakeLists.txt b/languages/cpp/pcsimporter/customimporter/CMakeLists.txt
new file mode 100644
index 00000000..0d807a57
--- /dev/null
+++ b/languages/cpp/pcsimporter/customimporter/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}/languages/lib/interfaces
+ ${CMAKE_SOURCE_DIR}/lib/interfaces
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES kdevpcscustomimporter.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### libkdevcustompcsimporter (module) #########
+
+tde_add_kpart( libkdevcustompcsimporter AUTOMOC
+ SOURCES
+ kdevcustomimporter.cpp settingsdialog.cpp
+ settingsdialogbase.ui
+ LINK lang_interfaces-shared kdevelop-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/languages/cpp/pcsimporter/kdelibsimporter/CMakeLists.txt b/languages/cpp/pcsimporter/kdelibsimporter/CMakeLists.txt
new file mode 100644
index 00000000..e74d7bf1
--- /dev/null
+++ b/languages/cpp/pcsimporter/kdelibsimporter/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}/languages/lib/interfaces
+ ${CMAKE_SOURCE_DIR}/lib/interfaces
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES kdevkdelibsimporter.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### libkdevkdelibsimporter (module) ###########
+
+tde_add_kpart( libkdevkdelibsimporter AUTOMOC
+ SOURCES
+ kdevkdelibsimporter.cpp settingsdialogbase.ui
+ settingsdialog.cpp
+ LINK lang_interfaces-shared kdevelop-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/languages/cpp/pcsimporter/qt4importer/CMakeLists.txt b/languages/cpp/pcsimporter/qt4importer/CMakeLists.txt
new file mode 100644
index 00000000..3eac2ddc
--- /dev/null
+++ b/languages/cpp/pcsimporter/qt4importer/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}/languages/lib/interfaces
+ ${CMAKE_SOURCE_DIR}/lib/interfaces
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES kdevqt4importer.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### libkdevqt4importer (module) ###############
+
+tde_add_kpart( libkdevqt4importer AUTOMOC
+ SOURCES
+ kdevqt4importer.cpp settingsdialogbase.ui
+ settingsdialog.cpp
+ LINK lang_interfaces-shared kdevelop-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/languages/cpp/pcsimporter/qtimporter/CMakeLists.txt b/languages/cpp/pcsimporter/qtimporter/CMakeLists.txt
new file mode 100644
index 00000000..9f60fd6b
--- /dev/null
+++ b/languages/cpp/pcsimporter/qtimporter/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
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/languages/lib/interfaces
+ ${CMAKE_SOURCE_DIR}/lib/interfaces
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES kdevqtimporter.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### libkdevqtimporter (module) ################
+
+tde_add_kpart( libkdevqtimporter AUTOMOC
+ SOURCES
+ kdevqtimporter.cpp settingsdialogbase.ui settingsdialog.cpp
+ LINK lang_interfaces-shared kdevelop-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)