Merge topic 'doc-configure_file-creates-directories' into release-3.22

fa47e9c8f9 Help: Document that configure_file can create directories

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6675
This commit is contained in:
Brad King
2021-10-29 12:50:58 +00:00
committed by Kitware Robot

View File

@@ -96,6 +96,7 @@ The arguments are:
with respect to the value of :variable:`CMAKE_CURRENT_BINARY_DIR`.
If the path names an existing directory the output file is placed
in that directory with the same file name as the input file.
If the path contains non-existent directories, they are created.
``NO_SOURCE_PERMISSIONS``
.. versionadded:: 3.19