浏览代码

Help: file(CONFIGURE) only updates output file timestamp if it changes

Craig Scott 1 年之前
父节点
当前提交
795e7b44f2
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      Help/command/file.rst

+ 3 - 1
Help/command/file.rst

@@ -302,7 +302,9 @@ Writing
   variable values referenced as ``@VAR@`` or ``${VAR}`` contained therein. The
   substitution rules behave the same as the :command:`configure_file` command.
   In order to match :command:`configure_file`'s behavior, generator expressions
-  are not supported for both ``OUTPUT`` and ``CONTENT``.
+  are not supported for both ``OUTPUT`` and ``CONTENT``, and the output file
+  is only modified and its timestamp updated if the content is changed or the
+  file previously didn't exist.
 
   The arguments are: