Help: Document that configure_file can create directories

This commit is contained in:
Marc Aldorasi 2021-10-27 16:46:40 -04:00 committed by Brad King
parent 28a033cc7d
commit fa47e9c8f9

View File

@ -96,6 +96,7 @@ The arguments are:
with respect to the value of :variable:`CMAKE_CURRENT_BINARY_DIR`. with respect to the value of :variable:`CMAKE_CURRENT_BINARY_DIR`.
If the path names an existing directory the output file is placed If the path names an existing directory the output file is placed
in that directory with the same file name as the input file. 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`` ``NO_SOURCE_PERMISSIONS``
.. versionadded:: 3.19 .. versionadded:: 3.19