FILE_SET_PROPERTY

This generator expression belongs to the FileSet-Dependent Expressions family. See that section for related generator expressions.

Syntax

$<FILE_SET_PROPERTY:fileset,TARGET:target,prop>

Added in version 4.3.

Value of the property prop on the file set fileset, or empty if the property is not set. An error will be raised if the file set is not known by CMake.

The possible sub-options are:

TARGET:target

The target on which the file set depends.