diff options
author | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-23 20:22:40 +0000 |
---|---|---|
committer | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-23 20:22:40 +0000 |
commit | cf21ddc3cce570e574364e841758b59c0f8e8e04 (patch) | |
tree | 9f79e4569bb2991b4de8c25dd23795126ac0914c /parts/appwizard/common/CMakeLists.txt | |
parent | f9c30e41d26594598abaa8315c4488b6c5ff38ea (diff) | |
download | tdevelop-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 'parts/appwizard/common/CMakeLists.txt')
-rw-r--r-- | parts/appwizard/common/CMakeLists.txt | 46 |
1 files changed, 46 insertions, 0 deletions
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 ) |