Browse Source

Help: Document that file(GENERATE) re-writes only when needed.

Stephen Kelly 11 years ago
parent
commit
5fb9b16d0c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Help/command/file.rst

+ 2 - 0
Help/command/file.rst

@@ -271,6 +271,8 @@ from the input content to produce the output content.  The options are:
 
 Exactly one ``CONTENT`` or ``INPUT`` option must be given.  A specific
 ``OUTPUT`` file may be named by at most one invocation of ``file(GENERATE)``.
+Generated files are modified on subsequent cmake runs only if their content
+is changed.
 
 ------------------------------------------------------------------------------