summaryrefslogtreecommitdiffstats
path: root/src
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 /src
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 'src')
-rw-r--r--src/CMakeLists.txt98
-rw-r--r--src/kconf_update/CMakeLists.txt32
-rw-r--r--src/newui/CMakeLists.txt25
-rw-r--r--src/profileengine/CMakeLists.txt13
-rw-r--r--src/profileengine/editor/CMakeLists.txt38
-rw-r--r--src/profileengine/lib/CMakeLists.txt37
-rw-r--r--src/profiles/CMakeLists.txt15
-rw-r--r--src/profiles/IDE/CMakeLists.txt18
-rw-r--r--src/profiles/IDE/CompiledLanguageIDE/AdaIDE/CMakeLists.txt14
-rw-r--r--src/profiles/IDE/CompiledLanguageIDE/CMakeLists.txt21
-rw-r--r--src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CIDE/CMakeLists.txt14
-rw-r--r--src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CMakeLists.txt17
-rw-r--r--src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/CMakeLists.txt16
-rw-r--r--src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/KDECppIDE/CMakeLists.txt14
-rw-r--r--src/profiles/IDE/CompiledLanguageIDE/FortranIDE/CMakeLists.txt14
-rw-r--r--src/profiles/IDE/CompiledLanguageIDE/HaskellIDE/CMakeLists.txt14
-rw-r--r--src/profiles/IDE/CompiledLanguageIDE/JavaIDE/CMakeLists.txt14
-rw-r--r--src/profiles/IDE/CompiledLanguageIDE/PascalIDE/CMakeLists.txt14
-rw-r--r--src/profiles/IDE/DatabaseIDE/CMakeLists.txt14
-rw-r--r--src/profiles/IDE/ScriptingLanguageIDE/CMakeLists.txt20
-rw-r--r--src/profiles/IDE/ScriptingLanguageIDE/PHPIDE/CMakeLists.txt14
-rw-r--r--src/profiles/IDE/ScriptingLanguageIDE/PerlIDE/CMakeLists.txt14
-rw-r--r--src/profiles/IDE/ScriptingLanguageIDE/PythonIDE/CMakeLists.txt14
-rw-r--r--src/profiles/IDE/ScriptingLanguageIDE/RubyIDE/CMakeLists.txt14
-rw-r--r--src/profiles/IDE/ScriptingLanguageIDE/ShellIDE/CMakeLists.txt14
-rw-r--r--src/profiles/KDevAssistant/CMakeLists.txt14
26 files changed, 546 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
new file mode 100644
index 00000000..21b1e75a
--- /dev/null
+++ b/src/CMakeLists.txt
@@ -0,0 +1,98 @@
+#################################################
+#
+# (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( profiles )
+add_subdirectory( profileengine )
+add_subdirectory( newui )
+add_subdirectory( kconf_update )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/lib/interfaces
+ ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions
+ ${CMAKE_SOURCE_DIR}/lib/interfaces/external
+ ${CMAKE_SOURCE_DIR}/lib/widgets
+ ${CMAKE_SOURCE_DIR}/lib/util
+ ${CMAKE_SOURCE_DIR}/src/profileengine/lib
+ ${CMAKE_SOURCE_DIR}/src/newui
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### headers ###################################
+
+install( FILES
+ api.h core.h documentationpart.h editorproxy.h
+ generalinfowidget.h languageselectwidget.h
+ mainwindowshare.h partcontroller.h plugincontroller.h
+ projectmanager.h projectsession.h shellextension.h
+ splashscreen.h statusbar.h toplevel.h
+ ${CMAKE_CURRENT_BINARY_DIR}/generalinfowidgetbase.h
+ ${CMAKE_CURRENT_BINARY_DIR}/mimewarningdialog.h
+ ${CMAKE_CURRENT_BINARY_DIR}/settingswidget.h
+ simplemainwindow.h multibuffer.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/kdevelop/shell )
+
+
+##### other data ################################
+
+install( FILES kdevelopui.rc eventsrc DESTINATION ${DATA_INSTALL_DIR}/kdevelop )
+install( FILES kdeveloprc kdevassistantrc DESTINATION ${CONFIG_INSTALL_DIR} )
+install( FILES kdevassistantui.rc DESTINATION ${DATA_INSTALL_DIR}/kdevassistant )
+install( FILES projectprofiles DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles )
+
+
+##### kdevelop (executable) #####################
+
+tde_add_executable( kdevelop
+ SOURCES
+ main.cpp kdevideextension.cpp settingswidget.ui
+ LINK kdevshell-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### kdevassistant (executable) ################
+
+tde_add_executable( kdevassistant
+ SOURCES
+ main_assistant.cpp kdevassistantextension.cpp
+ LINK kdevshell-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### kdevshell (shared) ########################
+
+tde_add_library( kdevshell SHARED AUTOMOC
+ SOURCES
+ api.cpp core.cpp documentationpart.cpp editorproxy.cpp
+ generalinfowidget.cpp generalinfowidgetbase.ui
+ languageselectwidget.cpp mainwindowshare.cpp
+ mimewarningdialog.ui multibuffer.cpp partcontroller.cpp
+ plugincontroller.cpp pluginselectdialog.cpp
+ pluginselectdialog.h pluginselectdialogbase.ui
+ projectmanager.cpp projectsession.cpp shellextension.cpp
+ simplemainwindow.cpp splashscreen.cpp statusbar.cpp
+ toplevel.cpp
+ VERSION 0.0.0
+ LINK
+ kdevutil-static d-static kinterfacedesigner-static
+ profileengine-shared kdevelop-shared kdevwidgets-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
diff --git a/src/kconf_update/CMakeLists.txt b/src/kconf_update/CMakeLists.txt
new file mode 100644
index 00000000..a374f34a
--- /dev/null
+++ b/src/kconf_update/CMakeLists.txt
@@ -0,0 +1,32 @@
+#################################################
+#
+# (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(
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES kdev-gen-settings.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
+
+
+##### kdev-gen-settings-kconf_update (executable)
+
+tde_add_executable( kdev-gen-settings-kconf_update
+ SOURCES kdev-gen-settings-kconf_update.cpp
+ LINK ${TQT_LIBRARIES}
+ DESTINATION ${LIB_INSTALL_DIR}/kconf_update_bin
+)
diff --git a/src/newui/CMakeLists.txt b/src/newui/CMakeLists.txt
new file mode 100644
index 00000000..b65bff6a
--- /dev/null
+++ b/src/newui/CMakeLists.txt
@@ -0,0 +1,25 @@
+#################################################
+#
+# (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}
+)
+
+
+##### d (static) ################################
+
+tde_add_library( d STATIC_PIC AUTOMOC
+ SOURCES
+ dmainwindow.cpp buttonbar.cpp button.cpp ddockwindow.cpp
+ docksplitter.cpp dtabwidget.cpp
+)
diff --git a/src/profileengine/CMakeLists.txt b/src/profileengine/CMakeLists.txt
new file mode 100644
index 00000000..635317f0
--- /dev/null
+++ b/src/profileengine/CMakeLists.txt
@@ -0,0 +1,13 @@
+#################################################
+#
+# (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( lib )
+add_subdirectory( editor )
diff --git a/src/profileengine/editor/CMakeLists.txt b/src/profileengine/editor/CMakeLists.txt
new file mode 100644
index 00000000..ddc82809
--- /dev/null
+++ b/src/profileengine/editor/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}/src/profileengine/lib
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### kdevprofileeditor (executable) ############
+
+tde_add_executable( kdevprofileeditor
+ SOURCES main.cpp
+ LINK profileeditor-static profileengine-shared kio-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### profileeditor (static) ####################
+
+tde_add_library( profileeditor STATIC AUTOMOC
+ SOURCES
+ profileeditorbase.ui profileeditor.cpp addprofilewidget.ui
+)
diff --git a/src/profileengine/lib/CMakeLists.txt b/src/profileengine/lib/CMakeLists.txt
new file mode 100644
index 00000000..f6cad526
--- /dev/null
+++ b/src/profileengine/lib/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_SOURCE_DIR}/lib/interfaces
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### headers ###################################
+
+install( FILES
+ profileengine.h profile.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/kdevelop/shell/profileengine )
+
+
+##### profileengine (shared) ####################
+
+tde_add_library( profileengine SHARED
+ SOURCES profileengine.cpp profile.cpp
+ VERSION 0.0.0
+ LINK kio-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
diff --git a/src/profiles/CMakeLists.txt b/src/profiles/CMakeLists.txt
new file mode 100644
index 00000000..b475eba3
--- /dev/null
+++ b/src/profiles/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( IDE )
+add_subdirectory( KDevAssistant )
+
+install( FILES profile.config DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles )
diff --git a/src/profiles/IDE/CMakeLists.txt b/src/profiles/IDE/CMakeLists.txt
new file mode 100644
index 00000000..d289d2ca
--- /dev/null
+++ b/src/profiles/IDE/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
+#
+#################################################
+
+add_subdirectory( CompiledLanguageIDE )
+add_subdirectory( ScriptingLanguageIDE )
+add_subdirectory( DatabaseIDE )
+
+install( FILES
+ profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE )
diff --git a/src/profiles/IDE/CompiledLanguageIDE/AdaIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/AdaIDE/CMakeLists.txt
new file mode 100644
index 00000000..23cb53a2
--- /dev/null
+++ b/src/profiles/IDE/CompiledLanguageIDE/AdaIDE/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
+#
+#################################################
+
+install( FILES
+ profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/CompiledLanguageIDE/AdaIDE )
diff --git a/src/profiles/IDE/CompiledLanguageIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/CMakeLists.txt
new file mode 100644
index 00000000..f6ce3450
--- /dev/null
+++ b/src/profiles/IDE/CompiledLanguageIDE/CMakeLists.txt
@@ -0,0 +1,21 @@
+#################################################
+#
+# (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( CandCppIDE )
+add_subdirectory( JavaIDE )
+add_subdirectory( AdaIDE )
+add_subdirectory( FortranIDE )
+add_subdirectory( HaskellIDE )
+add_subdirectory( PascalIDE )
+
+install( FILES
+ profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/CompiledLanguageIDE )
diff --git a/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CIDE/CMakeLists.txt
new file mode 100644
index 00000000..8894b7f2
--- /dev/null
+++ b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CIDE/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
+#
+#################################################
+
+install( FILES
+ profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CIDE )
diff --git a/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CMakeLists.txt
new file mode 100644
index 00000000..de60dc53
--- /dev/null
+++ b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/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( CIDE )
+add_subdirectory( CppIDE )
+
+install( FILES
+ profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/CompiledLanguageIDE/CandCppIDE )
diff --git a/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/CMakeLists.txt
new file mode 100644
index 00000000..988500e7
--- /dev/null
+++ b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/CMakeLists.txt
@@ -0,0 +1,16 @@
+#################################################
+#
+# (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( KDECppIDE )
+
+install( FILES
+ profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE )
diff --git a/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/KDECppIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/KDECppIDE/CMakeLists.txt
new file mode 100644
index 00000000..ada93dc8
--- /dev/null
+++ b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/KDECppIDE/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
+#
+#################################################
+
+install( FILES
+ profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/KDECppIDE )
diff --git a/src/profiles/IDE/CompiledLanguageIDE/FortranIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/FortranIDE/CMakeLists.txt
new file mode 100644
index 00000000..10015e01
--- /dev/null
+++ b/src/profiles/IDE/CompiledLanguageIDE/FortranIDE/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
+#
+#################################################
+
+install( FILES
+ profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/CompiledLanguageIDE/FortranIDE )
diff --git a/src/profiles/IDE/CompiledLanguageIDE/HaskellIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/HaskellIDE/CMakeLists.txt
new file mode 100644
index 00000000..62abe7a8
--- /dev/null
+++ b/src/profiles/IDE/CompiledLanguageIDE/HaskellIDE/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
+#
+#################################################
+
+install( FILES
+ profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/CompiledLanguageIDE/HaskellIDE )
diff --git a/src/profiles/IDE/CompiledLanguageIDE/JavaIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/JavaIDE/CMakeLists.txt
new file mode 100644
index 00000000..fb445df5
--- /dev/null
+++ b/src/profiles/IDE/CompiledLanguageIDE/JavaIDE/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
+#
+#################################################
+
+install( FILES
+ profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/CompiledLanguageIDE/JavaIDE )
diff --git a/src/profiles/IDE/CompiledLanguageIDE/PascalIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/PascalIDE/CMakeLists.txt
new file mode 100644
index 00000000..8917e32f
--- /dev/null
+++ b/src/profiles/IDE/CompiledLanguageIDE/PascalIDE/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
+#
+#################################################
+
+install( FILES
+ profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/CompiledLanguageIDE/PascalIDE )
diff --git a/src/profiles/IDE/DatabaseIDE/CMakeLists.txt b/src/profiles/IDE/DatabaseIDE/CMakeLists.txt
new file mode 100644
index 00000000..3079894b
--- /dev/null
+++ b/src/profiles/IDE/DatabaseIDE/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
+#
+#################################################
+
+install( FILES
+ profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/DatabaseIDE )
diff --git a/src/profiles/IDE/ScriptingLanguageIDE/CMakeLists.txt b/src/profiles/IDE/ScriptingLanguageIDE/CMakeLists.txt
new file mode 100644
index 00000000..c5599ed3
--- /dev/null
+++ b/src/profiles/IDE/ScriptingLanguageIDE/CMakeLists.txt
@@ -0,0 +1,20 @@
+#################################################
+#
+# (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( RubyIDE )
+add_subdirectory( PerlIDE )
+add_subdirectory( PHPIDE )
+add_subdirectory( PythonIDE )
+add_subdirectory( ShellIDE )
+
+install( FILES
+ profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/ScriptingLanguageIDE )
diff --git a/src/profiles/IDE/ScriptingLanguageIDE/PHPIDE/CMakeLists.txt b/src/profiles/IDE/ScriptingLanguageIDE/PHPIDE/CMakeLists.txt
new file mode 100644
index 00000000..70817f06
--- /dev/null
+++ b/src/profiles/IDE/ScriptingLanguageIDE/PHPIDE/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
+#
+#################################################
+
+install( FILES
+ profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/ScriptingLanguageIDE/PHPIDE )
diff --git a/src/profiles/IDE/ScriptingLanguageIDE/PerlIDE/CMakeLists.txt b/src/profiles/IDE/ScriptingLanguageIDE/PerlIDE/CMakeLists.txt
new file mode 100644
index 00000000..c00b57c9
--- /dev/null
+++ b/src/profiles/IDE/ScriptingLanguageIDE/PerlIDE/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
+#
+#################################################
+
+install( FILES
+ profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/ScriptingLanguageIDE/PerlIDE )
diff --git a/src/profiles/IDE/ScriptingLanguageIDE/PythonIDE/CMakeLists.txt b/src/profiles/IDE/ScriptingLanguageIDE/PythonIDE/CMakeLists.txt
new file mode 100644
index 00000000..0a56d3e6
--- /dev/null
+++ b/src/profiles/IDE/ScriptingLanguageIDE/PythonIDE/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
+#
+#################################################
+
+install( FILES
+ profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/ScriptingLanguageIDE/PythonIDE )
diff --git a/src/profiles/IDE/ScriptingLanguageIDE/RubyIDE/CMakeLists.txt b/src/profiles/IDE/ScriptingLanguageIDE/RubyIDE/CMakeLists.txt
new file mode 100644
index 00000000..3890a913
--- /dev/null
+++ b/src/profiles/IDE/ScriptingLanguageIDE/RubyIDE/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
+#
+#################################################
+
+install( FILES
+ profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/ScriptingLanguageIDE/RubyIDE )
diff --git a/src/profiles/IDE/ScriptingLanguageIDE/ShellIDE/CMakeLists.txt b/src/profiles/IDE/ScriptingLanguageIDE/ShellIDE/CMakeLists.txt
new file mode 100644
index 00000000..6fef335e
--- /dev/null
+++ b/src/profiles/IDE/ScriptingLanguageIDE/ShellIDE/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
+#
+#################################################
+
+install( FILES
+ profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/IDE/ScriptingLanguageIDE/ShellIDE )
diff --git a/src/profiles/KDevAssistant/CMakeLists.txt b/src/profiles/KDevAssistant/CMakeLists.txt
new file mode 100644
index 00000000..f71f9128
--- /dev/null
+++ b/src/profiles/KDevAssistant/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
+#
+#################################################
+
+install( FILES
+ profile.config
+ DESTINATION ${DATA_INSTALL_DIR}/kdevelop/profiles/KDevAssistant )