summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMakeLists.txt
diff options
context:
space:
mode:
authorLeander Beernaert <leander.beernaert@qt.io>2020-03-06 12:41:07 (GMT)
committerBrad King <brad.king@kitware.com>2020-03-09 15:54:02 (GMT)
commita6fee09484dd467028021e2c54e9791f1b6a0cd1 (patch)
tree1bda1bde6e6693c668a406781d23abfb57571dd2 /Tests/RunCMake/CMakeLists.txt
parent4a1baca6f79557c61aafd99ae3abed533afa11a2 (diff)
downloadCMake-a6fee09484dd467028021e2c54e9791f1b6a0cd1.zip
CMake-a6fee09484dd467028021e2c54e9791f1b6a0cd1.tar.gz
CMake-a6fee09484dd467028021e2c54e9791f1b6a0cd1.tar.bz2
file: Add CONFIGURE subcommand
Extend the `file()` command with a new `CONFIGURE` subcommand that behaves the same as `string(CONFIGURE)` except that it writes the resulting output immediately to a file. Fixes: #20388
Diffstat (limited to 'Tests/RunCMake/CMakeLists.txt')
-rw-r--r--Tests/RunCMake/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt
index 40b5cfa..4b5475e 100644
--- a/Tests/RunCMake/CMakeLists.txt
+++ b/Tests/RunCMake/CMakeLists.txt
@@ -448,6 +448,7 @@ if(CMAKE_C_COMPILER_ID STREQUAL "AppleClang"
add_RunCMake_test(Framework)
endif()
+add_RunCMake_test(File_Configure)
add_RunCMake_test(File_Generate)
add_RunCMake_test(ExportWithoutLanguage)
add_RunCMake_test(target_link_directories)