mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
Add a feature to parse snippets into a trace file compatible with the Google Trace Event Format. Fixes: #26674
23 lines
530 B
CMake
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
|
|
)
|