Przeglądaj źródła

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

Craig Scott 1 rok temu
rodzic
commit
795e7b44f2
1 zmienionych plików z 3 dodań i 1 usunięć
  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: