Files
CMake/Tests/RunCMake/Instrumentation/check-no-make-program-hooks.cmake
T
Martin Duffy a249e820a8 instrumentation: Add file lock for build daemon
Prevent starting instrumentation build daemon and related hooks if one is
already running, and when during `cmake --build`.
2025-08-06 11:45:40 -04:00

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()