mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
Adds support for "symbolic" components, which represent feature-level capabilities of a package that do not correspond to actual build targets. These are modeled as pseudo-targets, using the INTERFACE type as a base, and can be queried via: get_target_property(... <tgt> "SYMBOLIC") This enables consumers to declare requirements on optional features (e.g., SSL support) even when they do not map to concrete targets. Fixes: #27187
12 lines
364 B
ReStructuredText
12 lines
364 B
ReStructuredText
SYMBOLIC
|
|
--------
|
|
|
|
.. versionadded:: 4.2
|
|
|
|
Read-only indication of whether a target is ``SYMBOLIC``.
|
|
|
|
Symbolic targets are created by calls to
|
|
:command:`add_library(INTERFACE SYMBOLIC) <add_library(INTERFACE-SYMBOLIC)>`.
|
|
They are useful for packages to represent additional **components** or
|
|
**feature selectors** that consumers can request via ``find_package()``.
|