From a02c867020f0f7f4d399c1d2849ac990614036f8 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 15 Jun 2015 13:15:26 +0900 Subject: Fix cmake template project files. This relates to bug 2308. Signed-off-by: Michele Calgaro (cherry picked from commit 065693194f81b16c3d6deb7fb70a07ae0e884eb6) --- languages/cpp/app_templates/cmakeqt3app/CMakeLists.txt | 9 +++++---- languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.kdevtemplate | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'languages/cpp/app_templates/cmakeqt3app') diff --git a/languages/cpp/app_templates/cmakeqt3app/CMakeLists.txt b/languages/cpp/app_templates/cmakeqt3app/CMakeLists.txt index b69d898f..96b10bd8 100644 --- a/languages/cpp/app_templates/cmakeqt3app/CMakeLists.txt +++ b/languages/cpp/app_templates/cmakeqt3app/CMakeLists.txt @@ -10,10 +10,11 @@ ################################################# add_custom_target( cmakeqt3app.tar.gz ALL - COMMAND tar zcf cmakeqt3app.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} - main.cpp cmakeqt3app.cpp cmakeqt3app.h cmakeqt3app.png - filesave.xpm fileopen.xpm fileprint.xpm - cmakeqt3app-CMakeLists.txt CMakeLists.txt.src + COMMAND tar --transform \"flags=r\;s/cmakeqt3app-CMakeLists.txt/CMakeLists.txt/\" + -zcf cmakeqt3app.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + main.cpp cmakeqt3app.cpp cmakeqt3app.h cmakeqt3app.png + filesave.xpm fileopen.xpm fileprint.xpm + cmakeqt3app-CMakeLists.txt CMakeLists.txt.src ) diff --git a/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.kdevtemplate b/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.kdevtemplate index 50afb48a..adf1ddca 100644 --- a/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.kdevtemplate +++ b/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.kdevtemplate @@ -97,7 +97,7 @@ Dest=%{dest}/src/fileprint.xpm [CMAKE] Type=finishcmd -Command=cmake ./ -GTDevelop3 +Command=cmake ./ -GKDevelop3 Directory=%{dest} [MSG] -- cgit v1.2.1