cmake/Help/variable/CMAKE_SUPPRESS_REGENERATION.rst

14 lines
538 B
ReStructuredText
Raw Normal View History

2018-08-09 18:06:22 +02:00
CMAKE_SUPPRESS_REGENERATION
---------------------------
2021-09-14 00:13:48 +02:00
.. versionadded:: 3.12
2019-11-11 23:01:05 +01:00
If ``CMAKE_SUPPRESS_REGENERATION`` is ``OFF``, which is default, then CMake
adds a special target on which all other targets depend that checks the build
system and optionally re-runs CMake to regenerate the build system when
the target specification source changes.
2018-08-09 18:06:22 +02:00
If this variable evaluates to ``ON`` at the end of the top-level
``CMakeLists.txt`` file, CMake will not add the regeneration target to the
build system or perform any build system checks.