FILE_SET_EXISTS¶
This generator expression belongs to the FileSet-Dependent Expressions family. See that section for related generator expressions.
Syntax¶
$<FILE_SET_EXISTS:fileset,TARGET:target>
Added in version 4.3.
1 if the fileset exists as a CMake file set attached to the target,
else 0.
The possible sub-options are:
TARGET:targetThe target on which the file set depends.