diff options
author | Asit Dhal <dhal.asitk@gmail.com> | 2020-10-28 10:07:57 (GMT) |
---|---|---|
committer | Asit Dhal <dhal.asitk@gmail.com> | 2020-12-21 11:16:16 (GMT) |
commit | c3385dd8bd7c78cf03d7e52ae0f49e8216cdaaea (patch) | |
tree | 429c6d6e88db90402670eef5e288f7f4a1bb29ca /Tests/RunCMake/File_Generate/SourcePermissions2.cmake | |
parent | c89514a6a47b678dddb703c302def4fe56abe275 (diff) | |
download | CMake-c3385dd8bd7c78cf03d7e52ae0f49e8216cdaaea.zip CMake-c3385dd8bd7c78cf03d7e52ae0f49e8216cdaaea.tar.gz CMake-c3385dd8bd7c78cf03d7e52ae0f49e8216cdaaea.tar.bz2 |
file(GENERATE): Support options to manipulate file permissions
Fixes: #15653
Diffstat (limited to 'Tests/RunCMake/File_Generate/SourcePermissions2.cmake')
-rw-r--r-- | Tests/RunCMake/File_Generate/SourcePermissions2.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/File_Generate/SourcePermissions2.cmake b/Tests/RunCMake/File_Generate/SourcePermissions2.cmake new file mode 100644 index 0000000..2a1e3ea --- /dev/null +++ b/Tests/RunCMake/File_Generate/SourcePermissions2.cmake @@ -0,0 +1,5 @@ +file(GENERATE OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/output-sourcepermission2.txt" + INPUT "${CMAKE_CURRENT_SOURCE_DIR}/input.txt" + NO_SOURCE_PERMISSIONS + FILE_PERMISSIONS OWNER_READ + ) |