Draft: cmVisualStudio10TargetGenerator: pass `-ifcOnly` where needed
Compute .ifc
filenames for synthetic target modules and add them to
the build. Also manually add -scanDependencies
since we do not have a
command template to add it otherwise.
Fixes: #25328
TODO:
- warnings about conflicting outputs when modules have the same base
filename (as in
export_bmi_and_interfaces
) - dependencies do not seem to be hooked up correctly; modules from
imported targets are not found properly: running the build doesn't
build or scan the synthetic target's modules and neither does using
--target
to try to build the target directly.
Depends on !8892 (merged).
Backport: release