Files
CMake/Tests/RunCMake/Instrumentation/query/cmake-command-trace.cmake
T
Tyler Yankee fbb5b47fbf instrumentation: Rename postTest and postInstall hooks
`postCTest` and `postCMakeInstall` are more closely aligned with the
corresponding snippets which cause cause them to trigger (`ctest` and
`cmakeInstall`, respectively), and as such serve as better indicators of
their true behavior.
2025-09-04 12:39:39 -04:00

9 lines
233 B
CMake

file(TO_CMAKE_PATH "${CMAKE_SOURCE_DIR}/../hook.cmake" hook_path)
cmake_instrumentation(
API_VERSION 1
DATA_VERSION 1
OPTIONS trace
HOOKS postBuild postCMakeInstall postCTest
CALLBACK ${CMAKE_COMMAND} -P ${hook_path} 0 1
)