Help: Document that file(GENERATE) re-writes only when needed.
This commit is contained in:
parent
95135ac336
commit
5fb9b16d0c
|
@ -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
|
Exactly one ``CONTENT`` or ``INPUT`` option must be given. A specific
|
||||||
``OUTPUT`` file may be named by at most one invocation of ``file(GENERATE)``.
|
``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.
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue