summaryrefslogtreecommitdiffstats
path: root/buildtools
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 /buildtools
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 'buildtools')
-rw-r--r--buildtools/CMakeLists.txt19
-rw-r--r--buildtools/ada/CMakeLists.txt44
-rw-r--r--buildtools/ant/CMakeLists.txt40
-rw-r--r--buildtools/autotools/CMakeLists.txt65
-rw-r--r--buildtools/custommakefiles/CMakeLists.txt51
-rw-r--r--buildtools/lib/CMakeLists.txt14
-rw-r--r--buildtools/lib/base/CMakeLists.txt40
-rw-r--r--buildtools/lib/parsers/CMakeLists.txt13
-rw-r--r--buildtools/lib/parsers/autotools/CMakeLists.txt24
-rw-r--r--buildtools/lib/parsers/qmake/CMakeLists.txt39
-rw-r--r--buildtools/lib/widgets/CMakeLists.txt55
-rw-r--r--buildtools/pascal/CMakeLists.txt46
-rw-r--r--buildtools/qmake/CMakeLists.txt53
-rw-r--r--buildtools/script/CMakeLists.txt42
14 files changed, 545 insertions, 0 deletions
diff --git a/buildtools/CMakeLists.txt b/buildtools/CMakeLists.txt
new file mode 100644
index 00000000..ee63b786
--- /dev/null
+++ b/buildtools/CMakeLists.txt
@@ -0,0 +1,19 @@
+#################################################
+#
+# (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 )
+tde_conditional_add_subdirectory( WITH_BUILDTOOL_ADA ada )
+tde_conditional_add_subdirectory( WITH_BUILDTOOL_ANT ant )
+tde_conditional_add_subdirectory( WITH_BUILDTOOL_AUTOTOOLS autotools )
+tde_conditional_add_subdirectory( WITH_BUILDTOOL_CUSTOMMAKEFILES custommakefiles )
+tde_conditional_add_subdirectory( WITH_BUILDTOOL_PASCAL pascal )
+tde_conditional_add_subdirectory( WITH_BUILDTOOL_QMAKE qmake )
+tde_conditional_add_subdirectory( WITH_BUILDTOOL_SCRIPT script )
diff --git a/buildtools/ada/CMakeLists.txt b/buildtools/ada/CMakeLists.txt
new file mode 100644
index 00000000..8d0fd4ae
--- /dev/null
+++ b/buildtools/ada/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}/buildtools/lib/base
+ ${CMAKE_SOURCE_DIR}/lib/interfaces
+ ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions
+ ${CMAKE_SOURCE_DIR}/lib/interfaces/external
+ ${CMAKE_SOURCE_DIR}/lib/interfaces/extras
+ ${CMAKE_SOURCE_DIR}/lib/util
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES kdevadaproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES kdevadaproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevadaproject )
+
+
+##### libkdevadaproject (module) ################
+
+tde_add_kpart( libkdevadaproject AUTOMOC
+ SOURCES
+ adaproject_part.cpp adaproject_widget.cpp
+ adaproject_optionsdlgbase.ui adaprojectoptionsdlg.cpp
+ adaglobaloptionsdlg.cpp service.cpp
+ LINK kdevbuildbase-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/buildtools/ant/CMakeLists.txt b/buildtools/ant/CMakeLists.txt
new file mode 100644
index 00000000..1b7cfd98
--- /dev/null
+++ b/buildtools/ant/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}
+ ${CMAKE_SOURCE_DIR}/buildtools/lib/base
+ ${CMAKE_SOURCE_DIR}/lib/interfaces
+ ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions
+ ${CMAKE_SOURCE_DIR}/lib/util
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES kdevantproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES kdevantproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevantproject )
+
+
+##### libkdevantproject (module) ################
+
+tde_add_kpart( libkdevantproject AUTOMOC
+ SOURCES
+ antprojectpart.cpp antoptionswidget.ui classpathwidget.ui
+ LINK kdevbuildbase-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/buildtools/autotools/CMakeLists.txt b/buildtools/autotools/CMakeLists.txt
new file mode 100644
index 00000000..f6212da7
--- /dev/null
+++ b/buildtools/autotools/CMakeLists.txt
@@ -0,0 +1,65 @@
+#################################################
+#
+# (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_BINARY_DIR}/buildtools/lib/widgets
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/buildtools/lib/base
+ ${CMAKE_SOURCE_DIR}/buildtools/lib/widgets
+ ${CMAKE_SOURCE_DIR}/buildtools/lib/parsers/autotools
+ ${CMAKE_SOURCE_DIR}/lib/interfaces
+ ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions
+ ${CMAKE_SOURCE_DIR}/lib/interfaces/external
+ ${CMAKE_SOURCE_DIR}/lib/interfaces/extras
+ ${CMAKE_SOURCE_DIR}/lib/util
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES kdevautoproject.desktop kdevkdeautoproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES kdevautoproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevautoproject )
+
+
+##### libkdevautoproject (module) ###############
+
+tde_add_kpart( libkdevautoproject AUTOMOC
+ SOURCES
+ autoprojectpart.cpp autoprojectwidget.cpp
+ configureoptionswidget.cpp configureoptionswidgetbase.ui
+ subprojectoptionsdlg.cpp subprojectoptionsdlgbase.ui
+ targetoptionsdlg.cpp targetoptionsdlgbase.ui
+ addservicedlg.cpp addservicedlgbase.ui
+ addapplicationdlg.cpp addapplicationdlgbase.ui
+ addtargetdlg.cpp addtargetdlgbase.ui addsubprojectdlg.cpp
+ addfiledlgbase.ui addfiledlg.cpp removefiledlgbase.ui
+ removefiledlg.cpp addicondlgbase.ui addicondlg.cpp
+ addtranslationdlg.cpp addprefixdlg.cpp
+ kfilednddetailview.cpp kfiledndiconview.cpp
+ fileselectorwidget.cpp misc.cpp addsubprojectdlgbase.ui
+ removetargetdlg.cpp removetargetdlgbase.ui
+ choosetargetdialog.cpp choosetargetdlgbase.ui
+ addexistingdlgbase.ui addexistingfilesdlg.cpp
+ addexistingdirectoriesdlg.cpp kimporticonview.cpp
+ autosubprojectview.cpp autodetailsview.cpp
+ autolistviewitems.cpp managecustomcommandsbase.ui
+ managecustomcommand.cpp autoprojectviewbase.ui
+ autotoolsaction.cpp makefilehandler.cpp
+ LINK kdevautotoolsparser-static kdevbuildbase-shared kdevbuildtoolswidgets-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/buildtools/custommakefiles/CMakeLists.txt b/buildtools/custommakefiles/CMakeLists.txt
new file mode 100644
index 00000000..55036324
--- /dev/null
+++ b/buildtools/custommakefiles/CMakeLists.txt
@@ -0,0 +1,51 @@
+#################################################
+#
+# (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_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}/buildtools/lib/widgets
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/buildtools/lib/base
+ ${CMAKE_SOURCE_DIR}/buildtools/lib/widgets
+ ${CMAKE_SOURCE_DIR}/lib/interfaces
+ ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions
+ ${CMAKE_SOURCE_DIR}/lib/util
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES kdevcustomproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES kdevcustomproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevcustomproject )
+
+
+##### libkdevcustomproject (module) #############
+
+
+
+tde_add_kpart( libkdevcustomproject AUTOMOC
+ SOURCES
+ selectnewfilesdialog.cpp
+ selectnewfilesdialogbase.ui custombuildoptionswidget.cpp
+ custombuildoptionswidgetbase.ui custommakeconfigwidget.cpp
+ custommakeconfigwidgetbase.ui custommanagerwidget.cpp
+ custommanagerwidgetbase.ui customotherconfigwidget.cpp
+ customotherconfigwidgetbase.ui customprojectpart.cpp
+ LINK kdevbuildbase-shared kdevbuildtoolswidgets-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/buildtools/lib/CMakeLists.txt b/buildtools/lib/CMakeLists.txt
new file mode 100644
index 00000000..b23bd2e7
--- /dev/null
+++ b/buildtools/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( parsers )
+add_subdirectory( widgets )
+add_subdirectory( base )
diff --git a/buildtools/lib/base/CMakeLists.txt b/buildtools/lib/base/CMakeLists.txt
new file mode 100644
index 00000000..1f3e9fbf
--- /dev/null
+++ b/buildtools/lib/base/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}
+ ${CMAKE_SOURCE_DIR}/lib/interfaces
+ ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions
+ ${CMAKE_SOURCE_DIR}/lib/util
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### headers ###################################
+
+install( FILES
+ kdevbuildtool.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/kdevelop/buildtools/base )
+
+
+##### kdevbuildbase (shared) ####################
+
+tde_add_library( kdevbuildbase SHARED AUTOMOC
+ SOURCES kdevbuildtool.cpp
+ VERSION 0.0.0
+ LINK kdevelop-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
diff --git a/buildtools/lib/parsers/CMakeLists.txt b/buildtools/lib/parsers/CMakeLists.txt
new file mode 100644
index 00000000..45157a98
--- /dev/null
+++ b/buildtools/lib/parsers/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( qmake )
+add_subdirectory( autotools )
diff --git a/buildtools/lib/parsers/autotools/CMakeLists.txt b/buildtools/lib/parsers/autotools/CMakeLists.txt
new file mode 100644
index 00000000..8226e963
--- /dev/null
+++ b/buildtools/lib/parsers/autotools/CMakeLists.txt
@@ -0,0 +1,24 @@
+#################################################
+#
+# (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_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+
+##### kdevautotoolsparser (static) ##############
+
+tde_add_library( kdevautotoolsparser STATIC_PIC
+ SOURCES
+ autotoolsast.cpp autotoolsdriver.cpp autotools_yacc.cpp
+)
diff --git a/buildtools/lib/parsers/qmake/CMakeLists.txt b/buildtools/lib/parsers/qmake/CMakeLists.txt
new file mode 100644
index 00000000..00898d3c
--- /dev/null
+++ b/buildtools/lib/parsers/qmake/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
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### headers ###################################
+
+install( FILES
+ qmakeast.h qmakedriver.h qmakeastvisitor.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/kdevelop/buildtools/parsers/qmake )
+
+
+##### kdevqmakeparser (shared) ##################
+
+tde_add_library( kdevqmakeparser SHARED
+ SOURCES
+ qmake_lex.cpp qmake_yacc.cpp qmakeast.cpp
+ qmakeastvisitor.cpp qmakedriver.cpp
+ VERSION 0.0.0
+ LINK kio-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
diff --git a/buildtools/lib/widgets/CMakeLists.txt b/buildtools/lib/widgets/CMakeLists.txt
new file mode 100644
index 00000000..f892964b
--- /dev/null
+++ b/buildtools/lib/widgets/CMakeLists.txt
@@ -0,0 +1,55 @@
+#################################################
+#
+# (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/util
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### headers ###################################
+
+install( FILES
+ addenvvardlg.h addfilesdialog.h
+ environmentvariableswidget.h envvartools.h
+ makeoptionswidget.h removesubprojectdialog.h
+ runoptionswidget.h subclassesdlg.h
+ ${CMAKE_CURRENT_BINARY_DIR}/environmentvariableswidgetbase.h
+ ${CMAKE_CURRENT_BINARY_DIR}/makeoptionswidgetbase.h
+ ${CMAKE_CURRENT_BINARY_DIR}/removesubprojectdlgbase.h
+ ${CMAKE_CURRENT_BINARY_DIR}/runoptionswidgetbase.h
+ ${CMAKE_CURRENT_BINARY_DIR}/subclassesdlgbase.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/kdevelop/buildtools/widgets )
+
+
+##### kdevbuildtoolswidgets (shared) ############
+
+tde_add_library( kdevbuildtoolswidgets SHARED AUTOMOC
+ SOURCES
+ addenvvardlg.cpp addfilesdialog.cpp
+ environmentdisplaydialog.cpp
+ environmentdisplaydialogbase.ui
+ environmentvariableswidget.cpp
+ environmentvariableswidgetbase.ui envvartools.cpp
+ makeoptionswidget.cpp makeoptionswidgetbase.ui
+ removesubprojectdialog.cpp removesubprojectdlgbase.ui
+ runoptionswidget.cpp runoptionswidgetbase.ui
+ subclassesdlg.cpp subclassesdlgbase.ui
+ VERSION 0.0.0
+ LINK kdevelop-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
diff --git a/buildtools/pascal/CMakeLists.txt b/buildtools/pascal/CMakeLists.txt
new file mode 100644
index 00000000..b10a6bec
--- /dev/null
+++ b/buildtools/pascal/CMakeLists.txt
@@ -0,0 +1,46 @@
+#################################################
+#
+# (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_BINARY_DIR}/buildtools/lib/widgets
+ ${CMAKE_SOURCE_DIR}/buildtools/lib/base
+ ${CMAKE_SOURCE_DIR}/buildtools/lib/widgets/
+ ${CMAKE_SOURCE_DIR}/lib/interfaces
+ ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions
+ ${CMAKE_SOURCE_DIR}/lib/interfaces/external
+ ${CMAKE_SOURCE_DIR}/lib/interfaces/extras
+ ${CMAKE_SOURCE_DIR}/lib/util
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES kdevpascalproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES kdevpascalproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevpascalproject )
+
+
+##### libkdevpascalproject (module) #############
+
+tde_add_kpart( libkdevpascalproject AUTOMOC
+ SOURCES
+ pascalproject_part.cpp pascalproject_widget.cpp
+ pascalproject_optionsdlgbase.ui pascalprojectoptionsdlg.cpp
+ pascalglobaloptionsdlg.cpp service.cpp
+ LINK kdevbuildbase-shared kdevbuildtoolswidgets-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/buildtools/qmake/CMakeLists.txt b/buildtools/qmake/CMakeLists.txt
new file mode 100644
index 00000000..fa281096
--- /dev/null
+++ b/buildtools/qmake/CMakeLists.txt
@@ -0,0 +1,53 @@
+#################################################
+#
+# (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_BINARY_DIR}/buildtools/lib/widgets
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/buildtools/lib/base
+ ${CMAKE_SOURCE_DIR}/buildtools/lib/parsers/qmake
+ ${CMAKE_SOURCE_DIR}/buildtools/lib/widgets
+ ${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}
+)
+
+
+##### other data ################################
+
+install( FILES kdevtrollproject.desktop kdevtmakeproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES kdevtrollproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevtrollproject )
+
+
+##### libkdevtrollproject (module) ##############
+
+tde_add_kpart( libkdevtrollproject AUTOMOC
+ SOURCES
+ choosesubprojectdlg.cpp choosesubprojectdlgbase.ui
+ createscopedlg.cpp createscopedlgbase.ui
+ disablesubprojectdlg.cpp disablesubprojectdlgbase.ui
+ newwidgetdlg.cpp newwidgetdlgbase.ui
+ projectconfigurationdlg.cpp projectconfigurationdlgbase.ui
+ qmakedefaultopts.cpp qmakeoptionswidget.cpp
+ qmakeoptionswidgetbase.ui qmakescopeitem.cpp
+ scope.cpp trolllistview.cpp trollprojectpart.cpp
+ trollprojectwidget.cpp
+ LINK kdevqmakeparser-shared kdevbuildbase-shared kdevbuildtoolswidgets-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/buildtools/script/CMakeLists.txt b/buildtools/script/CMakeLists.txt
new file mode 100644
index 00000000..d3f97540
--- /dev/null
+++ b/buildtools/script/CMakeLists.txt
@@ -0,0 +1,42 @@
+#################################################
+#
+# (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}/buildtools/lib/base
+ ${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}
+)
+
+
+##### other data ################################
+
+install( FILES kdevscriptproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES kdevscriptproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevscriptproject )
+
+
+##### libkdevscriptproject (module) #############
+
+tde_add_kpart( libkdevscriptproject AUTOMOC
+ SOURCES
+ scriptprojectpart.cpp scriptoptionswidget.cpp
+ scriptoptionswidgetbase.ui scriptnewfiledlg.cpp
+ LINK kdevbuildbase-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)