diff options
Diffstat (limited to 'share/cmake-3.18/Help/variable/CMAKE_SUPPRESS_REGENERATION.rst')
-rw-r--r-- | share/cmake-3.18/Help/variable/CMAKE_SUPPRESS_REGENERATION.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/share/cmake-3.18/Help/variable/CMAKE_SUPPRESS_REGENERATION.rst b/share/cmake-3.18/Help/variable/CMAKE_SUPPRESS_REGENERATION.rst new file mode 100644 index 0000000..96184dd --- /dev/null +++ b/share/cmake-3.18/Help/variable/CMAKE_SUPPRESS_REGENERATION.rst @@ -0,0 +1,11 @@ +CMAKE_SUPPRESS_REGENERATION +--------------------------- + +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. + +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. |