TARGET_OBJECTSΒΆ
Added in version 3.1.
This generator expression belongs to the Target Artifacts family. See that section for related generator expressions.
$<TARGET_OBJECTS:tgt[,SOURCE_FILES:source_file[;source_file]...]>
List of objects resulting from building tgt. This would typically be used
on object library targets.
Additional arguments:
SOURCE_FILES:source_file[;source_file]...
Changed in version 4.4.
An optional semicolon-separated 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).