diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2015-06-15 13:15:26 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2015-06-15 13:16:09 +0900 |
commit | a02c867020f0f7f4d399c1d2849ac990614036f8 (patch) | |
tree | 9f903a7941ca23cd48edeb05d0fc71bb01074a82 /languages/cpp/app_templates/cmakelibc | |
parent | f1f5827c46ed02c28d0db31d6d23e8a86610199c (diff) | |
download | tdevelop-a02c867020f0f7f4d399c1d2849ac990614036f8.tar.gz tdevelop-a02c867020f0f7f4d399c1d2849ac990614036f8.zip |
Fix cmake template project files. This relates to bug 2308.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 065693194f81b16c3d6deb7fb70a07ae0e884eb6)
Diffstat (limited to 'languages/cpp/app_templates/cmakelibc')
-rw-r--r-- | languages/cpp/app_templates/cmakelibc/CMakeLists.txt | 7 | ||||
-rw-r--r-- | languages/cpp/app_templates/cmakelibc/cmakelibc.kdevtemplate | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/languages/cpp/app_templates/cmakelibc/CMakeLists.txt b/languages/cpp/app_templates/cmakelibc/CMakeLists.txt index 841853d8..9db2bf91 100644 --- a/languages/cpp/app_templates/cmakelibc/CMakeLists.txt +++ b/languages/cpp/app_templates/cmakelibc/CMakeLists.txt @@ -10,9 +10,10 @@ ################################################# add_custom_target( cmakelibc.tar.gz ALL - COMMAND tar zcf cmakelibc.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} - test.c lib.h lib.c cmakelibc.png cmakelibc-CMakeLists.txt - CMakeLists.txt.src + COMMAND tar --transform \"flags=r\;s/cmakelibc-CMakeLists.txt/CMakeLists.txt/\" + -zcf cmakelibc.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + test.c lib.h lib.c cmakelibc.png cmakelibc-CMakeLists.txt + CMakeLists.txt.src ) diff --git a/languages/cpp/app_templates/cmakelibc/cmakelibc.kdevtemplate b/languages/cpp/app_templates/cmakelibc/cmakelibc.kdevtemplate index c05eaec4..cd5d052a 100644 --- a/languages/cpp/app_templates/cmakelibc/cmakelibc.kdevtemplate +++ b/languages/cpp/app_templates/cmakelibc/cmakelibc.kdevtemplate @@ -102,7 +102,7 @@ Dest=%{dest}/src/%{APPNAMELC}.c [CMAKE] Type=finishcmd -Command=cmake ./ -GTDevelop3 +Command=cmake ./ -GKDevelop3 Directory=%{dest} [MSG] |