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

This commit is contained in:
Craig Scott
2024-09-06 15:48:38 +10:00
parent 3cc9cb6ee2
commit 795e7b44f2

View File

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