summaryrefslogtreecommitdiffstats
path: root/parts/appwizard
diff options
context:
space:
mode:
Diffstat (limited to 'parts/appwizard')
-rw-r--r--parts/appwizard/CMakeLists.txt52
-rw-r--r--parts/appwizard/common/CMakeLists.txt46
-rw-r--r--parts/appwizard/imports/CMakeLists.txt25
-rw-r--r--parts/appwizard/licenses/CMakeLists.txt14
4 files changed, 137 insertions, 0 deletions
diff --git a/parts/appwizard/CMakeLists.txt b/parts/appwizard/CMakeLists.txt
new file mode 100644
index 00000000..181246bd
--- /dev/null
+++ b/parts/appwizard/CMakeLists.txt
@@ -0,0 +1,52 @@
+#################################################
+#
+# (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( imports )
+add_subdirectory( common )
+add_subdirectory( licenses )
+
+add_definitions( ${KDE_PLUGIN} )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/lib/interfaces
+ ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions
+ ${CMAKE_SOURCE_DIR}/lib/interfaces/extras
+ ${CMAKE_SOURCE_DIR}/lib/interfaces/external
+ ${CMAKE_SOURCE_DIR}/lib/util
+ ${CMAKE_SOURCE_DIR}/lib/widgets
+ ${CMAKE_SOURCE_DIR}/src/profileengine/lib
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES kdevappwizard.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES kdevappwizard.rc DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard )
+
+
+##### libkdevappwizard (module) #################
+
+tde_add_kpart( libkdevappwizard AUTOMOC
+ SOURCES
+ appwizardfactory.cpp appwizardpart.cpp appwizarddlg.cpp
+ importdlg.cpp filepropspagebase.ui filepropspage.cpp
+ appwizarddlgbase.ui importdlgbase.ui misc.cpp vcs_form.ui
+ kdevfile.cpp kdevlicense.cpp profilesupport.cpp
+ LINK profileengine-shared kdevelop-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/parts/appwizard/common/CMakeLists.txt b/parts/appwizard/common/CMakeLists.txt
new file mode 100644
index 00000000..3e333dd8
--- /dev/null
+++ b/parts/appwizard/common/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
+#
+#################################################
+
+function( generate_tar output source )
+ add_custom_target( ${output} ALL
+ COMMAND tar -zcf ${output} --exclude=.svn --exclude=*.cdbs-orig -C ${CMAKE_CURRENT_SOURCE_DIR}/${source} ${ARGN} )
+endfunction( )
+
+generate_tar( admin.tar.gz "" admin )
+generate_tar( gnome.tar.gz gnome macros )
+generate_tar( gnome2.tar.gz gnome2 macros )
+generate_tar( gnu.tar.gz gnu AUTHORS COPYING ChangeLog INSTALL NEWS README TODO )
+generate_tar( wxwidgets.tar.gz wx macros )
+generate_tar( incadmin.tar.gz incadmin config.guess config.sub depcomp install-sh ltmain.sh missing mkinstalldirs )
+generate_tar( scons.tar.gz scons configure admin/scons-mini.tar.bz2 admin/generic.py admin/kde.py )
+
+install( FILES
+ ${CMAKE_CURRENT_BINARY_DIR}/admin.tar.gz
+ ${CMAKE_CURRENT_BINARY_DIR}/gnu.tar.gz
+ ${CMAKE_CURRENT_BINARY_DIR}/incadmin.tar.gz
+ ${CMAKE_CURRENT_BINARY_DIR}/gnome.tar.gz
+ ${CMAKE_CURRENT_BINARY_DIR}/gnome2.tar.gz
+ ${CMAKE_CURRENT_BINARY_DIR}/wxwidgets.tar.gz
+ kde-app.lsm kde-Makefile.am kde-Makefile.cvs
+ kde-configure.in.in kde-index.docbook
+ kde-po-Makefile.am kde-doc-Makefile.am
+ kde-doc-en-Makefile.am hi16-app-app.png
+ hi32-app-app.png kde-app.desktop
+ kde-part.desktop gnome-app.lsm
+ gnome-Makefile.am gnome-Makefile.cvs
+ gnome-pixmaps-Makefile.am gnome-app.png
+ wx-configure.in wx-Makefile.am wx-Makefile.cvs
+ COPYING COPYING.LIB LICENSE.QPL LICENSE.BSD
+ Artistic admin.kdevtemplate gnu.kdevtemplate
+ dockbook.kdevtemplate incadmin.kdevtemplate
+ gnome2.kdevtemplate scons.kdevtemplate
+ ${CMAKE_CURRENT_BINARY_DIR}/scons.tar.gz
+ DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/template-common )
diff --git a/parts/appwizard/imports/CMakeLists.txt b/parts/appwizard/imports/CMakeLists.txt
new file mode 100644
index 00000000..e8059726
--- /dev/null
+++ b/parts/appwizard/imports/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
+#
+#################################################
+
+install( FILES
+ c-auto cpp-auto fortran-auto java-auto kde gnome c cpp
+ fortran python php perl java java-ant qttmake qtqmake
+ qt4qmake ruby pascal ada
+ DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/imports )
+
+install( FILES
+ c-auto.kdevelop cpp-auto.kdevelop fortran-auto.kdevelop
+ java-auto.kdevelop kde.kdevelop gnome.kdevelop
+ c.kdevelop cpp.kdevelop fortran.kdevelop python.kdevelop
+ php.kdevelop perl.kdevelop java.kdevelop java-ant.kdevelop
+ qttmake.kdevelop qtqmake.kdevelop qt4qmake.kdevelop
+ ruby.kdevelop pascal.kdevelop ada.kdevelop
+ DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/importfiles )
diff --git a/parts/appwizard/licenses/CMakeLists.txt b/parts/appwizard/licenses/CMakeLists.txt
new file mode 100644
index 00000000..87e9c62f
--- /dev/null
+++ b/parts/appwizard/licenses/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
+ GPL LGPL BSD QPL GPL+Qt-Exception MIT NCSA
+ DESTINATION ${DATA_INSTALL_DIR}/kdevelop/licenses )