PLATFORM_ID¶
This generator expression belongs to the Toolchain And Language Expressions family. See that section for related generator expressions.
Syntax¶
$<PLATFORM_ID>
The current system's CMake platform id. See also the
CMAKE_SYSTEM_NAME variable.
Syntax¶
$<PLATFORM_ID:platform_ids>
1 if CMake's platform id matches any one of the entries in comma-separated
list platform_ids, otherwise 0. See also the
CMAKE_SYSTEM_NAME variable.