HIP_COMPILER_ID

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

Syntax

$<HIP_COMPILER_ID>

Added in version 3.21.

CMake's compiler id of the HIP compiler used.

Syntax

$<HIP_COMPILER_ID:compiler_ids>

Added in version 3.21.

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