instrumentation: Include MODULE_LIBRARY in CMake content

Issue: #27488
This commit is contained in:
Martin Duffy committed 2026-01-07 09:32:04 -05:00
1 parent a6c39ca73c
commit 2bf3fd05cc
2 files changed
+3 -2

No files matched your search

+2 -2
View File
@@ -569,8 +569,8 @@ Each CMake content file contains the following:
``type``
The :prop_tgt:`TYPE` property of the target. Only ``EXECUTABLE``,
``STATIC_LIBRARY``, ``SHARED_LIBRARY``, and ``OBJECT_LIBRARY`` targets
are included.
``STATIC_LIBRARY``, ``SHARED_LIBRARY``, ``MODULE_LIBRARY`` and
``OBJECT_LIBRARY`` targets are included.
``labels``
The :prop_tgt:`LABELS` property of the target.
+1
View File
@@ -794,6 +794,7 @@ bool cmInstrumentation::IsInstrumentableTargetType(
return type == cmStateEnums::TargetType::EXECUTABLE ||
type == cmStateEnums::TargetType::SHARED_LIBRARY ||
type == cmStateEnums::TargetType::STATIC_LIBRARY ||
type == cmStateEnums::TargetType::MODULE_LIBRARY ||
type == cmStateEnums::TargetType::OBJECT_LIBRARY;
}