TARGET_OBJECTS¶
This generator expression belongs to the Target Artifacts family. See that section for related generator expressions.
Syntax¶
$<TARGET_OBJECTS:tgt[,SOURCE_FILES:source_file[;source_file]...]>
Added in version 3.1.
List of objects resulting from building tgt. This would typically be used
on object library targets.
Additional arguments:
SOURCE_FILES:source_file[;source_file]...
Added in version 4.4.
An optional list of one or more source files for the target. Only the object files built from those source files will be returned (but not necessarily in the same order they were specified).