CUDA_COMPILER_ID¶
This generator expression belongs to the Compiler Language, ID, and Frontend-Variant family. See that section for related generator expressions.
Syntax¶
$<CUDA_COMPILER_ID>
Added in version 3.15.
CMake's compiler id of the CUDA compiler used.
Syntax¶
$<CUDA_COMPILER_ID:compiler_ids>
Added in version 3.15.
where compiler_ids is a comma-separated list. 1 if CMake's compiler id
of the CUDA compiler matches any one of the entries in compiler_ids,
otherwise 0.