diff options
author | Michele Calgaro <[email protected]> | 2015-06-15 13:15:26 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2015-06-15 13:15:26 +0900 |
commit | 065693194f81b16c3d6deb7fb70a07ae0e884eb6 (patch) | |
tree | 0fee01815f662918c086c164005c812829829159 /languages/cpp/app_templates/cmakesimplec | |
parent | f817dc21e2258793f3f91aa6c0e916d29e9449e4 (diff) | |
download | tdevelop-065693194f81b16c3d6deb7fb70a07ae0e884eb6.tar.gz tdevelop-065693194f81b16c3d6deb7fb70a07ae0e884eb6.zip |
Fix cmake template project files. This relates to bug 2308.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'languages/cpp/app_templates/cmakesimplec')
-rw-r--r-- | languages/cpp/app_templates/cmakesimplec/CMakeLists.txt | 5 | ||||
-rw-r--r-- | languages/cpp/app_templates/cmakesimplec/cmakesimplec.kdevtemplate | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/languages/cpp/app_templates/cmakesimplec/CMakeLists.txt b/languages/cpp/app_templates/cmakesimplec/CMakeLists.txt index 4d07a4d6..72b9b610 100644 --- a/languages/cpp/app_templates/cmakesimplec/CMakeLists.txt +++ b/languages/cpp/app_templates/cmakesimplec/CMakeLists.txt @@ -10,8 +10,9 @@ ################################################# add_custom_target( cmakesimplec.tar.gz ALL - COMMAND tar zcf cmakesimplec.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} - main.c cmakesimplec.png cmakesimplec-CMakeLists.txt + COMMAND tar --transform \"flags=r\;s/cmakesimplec-CMakeLists.txt/CMakeLists.txt/\" + -zcf cmakesimplec.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + main.c cmakesimplec.png cmakesimplec-CMakeLists.txt ) diff --git a/languages/cpp/app_templates/cmakesimplec/cmakesimplec.kdevtemplate b/languages/cpp/app_templates/cmakesimplec/cmakesimplec.kdevtemplate index 25837634..8368256d 100644 --- a/languages/cpp/app_templates/cmakesimplec/cmakesimplec.kdevtemplate +++ b/languages/cpp/app_templates/cmakesimplec/cmakesimplec.kdevtemplate @@ -78,7 +78,7 @@ Dest=%{dest}/main.c [CMAKE] Type=finishcmd -Command=cmake ./ -GTDevelop3 +Command=cmake ./ -GKDevelop3 Directory=%{dest} [MSG] |