TARGET_FILE_SUFFIX¶
This generator expression belongs to the Target Artifacts family. See that section for related generator expressions.
Syntax¶
$<TARGET_FILE_SUFFIX:tgt>
Added in version 3.15.
Suffix of the tgt filename (extension such as .so or .exe).
See also the SUFFIX target property.
Note that tgt is not added as a dependency of the target this expression is
evaluated on.