mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-11 17:49:38 -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
31 lines
961 B
CMake
31 lines
961 B
CMake
include(RunCMake)
|
|
|
|
run_cmake(CMP0073)
|
|
|
|
run_cmake(INTERFACEwithNoSources)
|
|
run_cmake(INTERFACEwithSYMBOLIC)
|
|
run_cmake(OBJECTwithNoSources)
|
|
run_cmake(STATICwithNoSources)
|
|
run_cmake(SHAREDwithNoSources)
|
|
run_cmake(MODULEwithNoSources)
|
|
run_cmake(UNKNOWNwithNoSources)
|
|
|
|
run_cmake(INTERFACEwithOnlyObjectSources)
|
|
run_cmake(OBJECTwithOnlyObjectSources)
|
|
run_cmake(STATICwithOnlyObjectSources)
|
|
run_cmake(SHAREDwithOnlyObjectSources)
|
|
run_cmake(MODULEwithOnlyObjectSources)
|
|
run_cmake(UNKNOWNwithOnlyObjectSources)
|
|
|
|
run_cmake(INTERFACEwithNoSourcesButLinkObjects)
|
|
run_cmake(OBJECTwithNoSourcesButLinkObjects)
|
|
run_cmake(STATICwithNoSourcesButLinkObjects)
|
|
run_cmake(STATICwithSYMBOLIC)
|
|
run_cmake(SHAREDwithNoSourcesButLinkObjects)
|
|
run_cmake(MODULEwithNoSourcesButLinkObjects)
|
|
run_cmake(UNKNOWNwithNoSourcesButLinkObjects)
|
|
|
|
run_cmake(TARGET_SUPPORTS_SHARED_LIBS_CMP0164_OLD)
|
|
run_cmake(TARGET_SUPPORTS_SHARED_LIBS_CMP0164_NEW)
|
|
run_cmake(TARGET_SUPPORTS_SHARED_LIBS_CMP0164_WARN)
|