diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-07-22 13:10:57 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-11-04 21:38:22 (GMT) |
commit | 81afbbc09bac6913e2b83f7eb68923ff5b1911d5 (patch) | |
tree | 5ef96145b947affec91a86ae6d009e5a7d03929c /Tests/RunCMake/File_Generate/CarryPermissions.cmake | |
parent | db3cfc3376f2021f7c80ba220ecada64832b5ee1 (diff) | |
download | CMake-81afbbc09bac6913e2b83f7eb68923ff5b1911d5.zip CMake-81afbbc09bac6913e2b83f7eb68923ff5b1911d5.tar.gz CMake-81afbbc09bac6913e2b83f7eb68923ff5b1911d5.tar.bz2 |
file(GENERATE): Use permissions of input file if present.
Diffstat (limited to 'Tests/RunCMake/File_Generate/CarryPermissions.cmake')
-rw-r--r-- | Tests/RunCMake/File_Generate/CarryPermissions.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/File_Generate/CarryPermissions.cmake b/Tests/RunCMake/File_Generate/CarryPermissions.cmake new file mode 100644 index 0000000..a04334f --- /dev/null +++ b/Tests/RunCMake/File_Generate/CarryPermissions.cmake @@ -0,0 +1,5 @@ + +file(GENERATE + OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/output_script.sh" + INPUT "${CMAKE_CURRENT_SOURCE_DIR}/input_script.sh" +) |