OBJC_COMPILER_ID

This generator expression belongs to the Compiler Language, ID, and Frontend-Variant family. See that section for related generator expressions.

Syntax

$<OBJC_COMPILER_ID>

Added in version 3.16.

CMake's compiler id of the Objective-C compiler used.

Syntax

$<OBJC_COMPILER_ID:compiler_ids>

Added in version 3.16.

where compiler_ids is a comma-separated list. 1 if CMake's compiler id of the Objective-C compiler matches any one of the entries in compiler_ids, otherwise 0.