Merge topic 'instrumentation-more-snippet-data'

2fdd1e787f instrumentation: Additional data in custom, install and link snippets
3db07b0189 cmInstallScriptHandler: Refactor to store config and path for each command

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !11241
This commit is contained in:
Brad King
2025-09-26 13:34:01 +00:00
committed by Kitware Robot
12 changed files with 82 additions and 40 deletions
+6 -4
View File
@@ -359,8 +359,9 @@ and contain the following data:
* ``test``: a single test executed by CTest
``target``
The CMake target associated with the command. Only included when ``role`` is
``compile`` or ``link``.
The CMake target associated with the command. Included when ``role`` is
``compile``, or ``link``, and when ``role`` is ``custom`` and the custom
command is attached to a target with :ref:`add_custom_command(TARGET)`.
``targetType``
The :prop_tgt:`TYPE` of the target. Only included when ``role`` is
@@ -391,14 +392,15 @@ and contain the following data:
``language``
The language of the source file being compiled. Only included when ``role`` is
``compile``.
``compile`` or ``link``.
``testName``
The name of the test being executed. Only included when ``role`` is ``test``.
``config``
The type of build, such as ``Release`` or ``Debug``. Only included when
``role`` is ``compile``, ``link`` or ``test``.
``role`` is one of: ``compile``, ``link``, ``custom``, ``install``,
``test``.
``dynamicSystemInformation``
Specifies the dynamic information collected about the host machine