Files
CMake/Tests/RunCMake/Instrumentation/query/cmake-command.cmake
Tyler Yankee bf52fbfbc4 instrumentation: Add Google trace output
Add a feature to parse snippets into a trace file compatible with the
Google Trace Event Format.

Fixes: #26674
2025-09-03 15:24:10 -04:00

23 lines
530 B
CMake

# Query 0
cmake_instrumentation(
API_VERSION 1
DATA_VERSION 1
)
# Query 1
cmake_instrumentation(
API_VERSION 1
DATA_VERSION 1
HOOKS postGenerate
OPTIONS cdashSubmit cdashVerbose
CALLBACK ${CMAKE_COMMAND} -E echo callback1
)
# Query 2
cmake_instrumentation(
API_VERSION 1
DATA_VERSION 1
HOOKS postCMakeBuild
OPTIONS staticSystemInformation dynamicSystemInformation trace
CALLBACK ${CMAKE_COMMAND} -E echo callback2
CALLBACK ${CMAKE_COMMAND} -E echo callback3
)