diff options
author | Brad King <brad.king@kitware.com> | 2023-08-08 14:06:21 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2023-08-08 14:06:38 (GMT) |
commit | 4a8f9260c5159015060515d3409329f719eac8c3 (patch) | |
tree | 51fe267989d5924b2c2fa6520e356f37c3326209 /Tests/RunCMake/File_Generate/OutOfOrderArgs.cmake | |
parent | a707bc1349034978b9275f18e37951a38c105e9b (diff) | |
parent | 88f90a72f11bfdd16da63681ba3a5c482cf07304 (diff) | |
download | CMake-4a8f9260c5159015060515d3409329f719eac8c3.zip CMake-4a8f9260c5159015060515d3409329f719eac8c3.tar.gz CMake-4a8f9260c5159015060515d3409329f719eac8c3.tar.bz2 |
Merge topic 'file-GENERATE-arg-parsing' into release-3.27
88f90a72f1 file(GENERATE): Restore INPUT|CONTENT parse checking
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8694
Diffstat (limited to 'Tests/RunCMake/File_Generate/OutOfOrderArgs.cmake')
-rw-r--r-- | Tests/RunCMake/File_Generate/OutOfOrderArgs.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/File_Generate/OutOfOrderArgs.cmake b/Tests/RunCMake/File_Generate/OutOfOrderArgs.cmake new file mode 100644 index 0000000..7f0578b --- /dev/null +++ b/Tests/RunCMake/File_Generate/OutOfOrderArgs.cmake @@ -0,0 +1,4 @@ +file(GENERATE OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/output.txt" + CONDITION 1 + CONTENT "CONTENT argument" + ) |