diff options
Diffstat (limited to 'languages/cpp/app_templates/cmakesimple')
-rw-r--r-- | languages/cpp/app_templates/cmakesimple/CMakeLists.txt | 5 | ||||
-rw-r--r-- | languages/cpp/app_templates/cmakesimple/cmakesimple.kdevtemplate | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/languages/cpp/app_templates/cmakesimple/CMakeLists.txt b/languages/cpp/app_templates/cmakesimple/CMakeLists.txt index 621dd48a..933deb27 100644 --- a/languages/cpp/app_templates/cmakesimple/CMakeLists.txt +++ b/languages/cpp/app_templates/cmakesimple/CMakeLists.txt @@ -10,8 +10,9 @@ ################################################# add_custom_target( cmakesimple.tar.gz ALL - COMMAND tar zcf cmakesimple.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} - main.cpp cmakesimple.png cmakesimple-CMakeLists.txt README + COMMAND tar --transform \"flags=r\;s/cmakesimple-CMakeLists.txt/CMakeLists.txt/\" + -zcf cmakesimple.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + main.cpp cmakesimple.png cmakesimple-CMakeLists.txt README ) diff --git a/languages/cpp/app_templates/cmakesimple/cmakesimple.kdevtemplate b/languages/cpp/app_templates/cmakesimple/cmakesimple.kdevtemplate index 14df4c4c..6c1df52b 100644 --- a/languages/cpp/app_templates/cmakesimple/cmakesimple.kdevtemplate +++ b/languages/cpp/app_templates/cmakesimple/cmakesimple.kdevtemplate @@ -75,7 +75,7 @@ Dest=%{dest}/README [CMAKE] Type=finishcmd -Command=cmake ./ -GTDevelop3 +Command=cmake ./ -GKDevelop3 Directory=%{dest} [MSG] |