I think we’d need a new generator expression. Something like $<TARGET_OBJECT_DIR:tgt>
perhaps (in order to support multi-config generators)? The foreach
loop is likely to continue to be necessary without some other feature that would need more work. Could you please file a feature request on the issue tracker?
1 Like