Browse Source

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

fa47e9c8f9 Help: Document that configure_file can create directories

Acked-by: Kitware Robot <[email protected]>
Merge-request: !6675
Brad King 4 years ago
parent
commit
f594e32841
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Help/command/configure_file.rst

+ 1 - 0
Help/command/configure_file.rst

@@ -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