mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 21:00:01 -05:00
a249e820a8
Prevent starting instrumentation build daemon and related hooks if one is already running, and when during `cmake --build`.
7 lines
260 B
CMake
7 lines
260 B
CMake
if (EXISTS ${v1}/preBuild.hook OR EXISTS ${v1}/postBuild.hook)
|
|
set(RunCMake_TEST_FAILED "Got unexpected preBuild/postBuild hooks.")
|
|
endif()
|
|
if (NOT EXISTS ${v1}/postCMakeBuild.hook)
|
|
set(RunCMake_TEST_FAILED "Missing expected postCMakeBuild hook.")
|
|
endif()
|