summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/cmakelibcpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/cmakelibcpp')
-rw-r--r--languages/cpp/app_templates/cmakelibcpp/CMakeLists.txt7
-rw-r--r--languages/cpp/app_templates/cmakelibcpp/cmakelibcpp.kdevtemplate2
2 files changed, 5 insertions, 4 deletions
diff --git a/languages/cpp/app_templates/cmakelibcpp/CMakeLists.txt b/languages/cpp/app_templates/cmakelibcpp/CMakeLists.txt
index 26d7f3e2..3bf28dd3 100644
--- a/languages/cpp/app_templates/cmakelibcpp/CMakeLists.txt
+++ b/languages/cpp/app_templates/cmakelibcpp/CMakeLists.txt
@@ -10,9 +10,10 @@
#################################################
add_custom_target( cmakelibcpp.tar.gz ALL
- COMMAND tar zcf cmakelibcpp.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
- test.cpp lib.h lib.cpp cmakelibcpp.png
- cmakelibcpp-CMakeLists.txt CMakeLists.txt.src
+ COMMAND tar --transform \"flags=r\;s/cmakelibcpp-CMakeLists.txt/CMakeLists.txt/\"
+ -zcf cmakelibcpp.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
+ test.cpp lib.h lib.cpp cmakelibcpp.png
+ cmakelibcpp-CMakeLists.txt CMakeLists.txt.src
)
diff --git a/languages/cpp/app_templates/cmakelibcpp/cmakelibcpp.kdevtemplate b/languages/cpp/app_templates/cmakelibcpp/cmakelibcpp.kdevtemplate
index 653a5ec0..e7046f67 100644
--- a/languages/cpp/app_templates/cmakelibcpp/cmakelibcpp.kdevtemplate
+++ b/languages/cpp/app_templates/cmakelibcpp/cmakelibcpp.kdevtemplate
@@ -102,7 +102,7 @@ Dest=%{dest}/src/%{APPNAMELC}.cpp
[CMAKE]
Type=finishcmd
-Command=cmake ./ -GTDevelop3
+Command=cmake ./ -GKDevelop3
Directory=%{dest}
[MSG]