mirror of
https://github.com/reactos/CMake.git
synced 2024-11-28 22:10:32 +00:00
Merge topic 'doc_configure_file'
c7d81e16
Help: Explicitly state that some file generations are lazy
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1025
This commit is contained in:
commit
59e52b3041
@ -45,6 +45,8 @@ will be replaced, if ``VAR`` is defined, with::
|
||||
|
||||
If the input file is modified the build system will re-run CMake to
|
||||
re-configure the file and generate the build system again.
|
||||
The generated file is modified and its timestamp updated on subsequent
|
||||
cmake runs only if its content is changed.
|
||||
|
||||
The arguments are:
|
||||
|
||||
|
@ -306,8 +306,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.
|
||||
Generated files are modified and their timestamp updated on subsequent cmake
|
||||
runs only if their content is changed.
|
||||
|
||||
Note also that ``file(GENERATE)`` does not create the output file until the
|
||||
generation phase. The output file will not yet have been written when the
|
||||
|
Loading…
Reference in New Issue
Block a user