summaryrefslogtreecommitdiffstats
path: root/Help/release
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 /Help/release
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 'Help/release')
-rw-r--r--Help/release/dev/file_configure.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Help/release/dev/file_configure.rst b/Help/release/dev/file_configure.rst
new file mode 100644
index 0000000..35e99c4
--- /dev/null
+++ b/Help/release/dev/file_configure.rst
@@ -0,0 +1,6 @@
+file_configure
+--------------
+
+* The :command:`file(CONFIGURE)` subcommand was created in order replicate the
+ :command:`configure_file` functionality without resorting to a pre-existing
+ file on disk as input. The content is instead passed as a string.