ctest: Include cmake instrumentation data in XML files

This commit is contained in:
Zack Galbreath
2025-02-11 10:49:19 -05:00
committed by Brad King
parent 85a63143ed
commit a6d4a9a2ae
25 changed files with 652 additions and 21 deletions

View File

@@ -129,7 +129,13 @@ set
* variable ``CMAKE_EXPERIMENTAL_INSTRUMENTATION`` to
* value ``a37d1069-1972-4901-b9c9-f194aaf2b6e0``.
To enable instrumentation at the user-level, files should be blaced under
To enable instrumentation at the user-level, files should be placed under
either
``<CMAKE_CONFIG_DIR>/instrumentation-a37d1069-1972-4901-b9c9-f194aaf2b6e0`` or
``<CMAKE_BINARY_DIR>/.cmake/instrumentation-a37d1069-1972-4901-b9c9-f194aaf2b6e0``.
To include instrumentation data in CTest XML files (for submission to CDash),
you need to set the following environment variables:
* ``CTEST_USE_INSTRUMENTATION=1``
* ``CTEST_EXPERIMENTAL_INSTRUMENTATION=a37d1069-1972-4901-b9c9-f194aaf2b6e0``