cxxmodules: compute link information for C++ module-consuming targets
Compute link information for all C++ targets which support
modules instead of just those which may provide modules, as
they may import modules as well. This captures OBJECT
libraries using modules
which otherwise do not have link steps.
Fixes: #25592 (closed)
Backport: release
Topic-rename: cxxmodules-obj-lib
Edited by Brad King