mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-02 12:19:54 -05:00
fbb5b47fbf
`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.
9 lines
233 B
CMake
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
|
|
)
|