瀏覽代碼

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 年之前
父節點
當前提交
f594e32841
共有 1 個文件被更改,包括 1 次插入0 次删除
  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`.
   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