summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/qt4makeapp/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/qt4makeapp/CMakeLists.txt')
-rw-r--r--languages/cpp/app_templates/qt4makeapp/CMakeLists.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/languages/cpp/app_templates/qt4makeapp/CMakeLists.txt b/languages/cpp/app_templates/qt4makeapp/CMakeLists.txt
index 94056b6f..ac7a350d 100644
--- a/languages/cpp/app_templates/qt4makeapp/CMakeLists.txt
+++ b/languages/cpp/app_templates/qt4makeapp/CMakeLists.txt
@@ -9,13 +9,18 @@
#
#################################################
-add_custom_target( qt4makeapp.tar.gz ALL
- COMMAND ${TAR} zcf qt4makeapp.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
+set( _tarball_content
main.cpp qt4makeapp.cpp qt4makeapp.h qt4makeapp.png
qt4makeapp.kdevelop qt4makeapp.pro src.pro application.qrc
ReadMe filesave.xpm fileopen.xpm filenew.xpm editcopy.xpm
editpaste.xpm editcut.xpm
)
+list( SORT _tarball_content )
+
+tde_create_tarball(
+ TARGET qt4makeapp.tar.gz
+ FILES ${_tarball_content}
+)
install( FILES