https://github.com/Kitware/CMake
Revision d2fa56772f290c61925a70161c77be5f4334fd77 authored by Ben Boeckel on 18 November 2023, 03:53:45 UTC, committed by Brad King on 23 November 2023, 19:25:09 UTC
When a target uses objects from another target which provides modules as
sources, the modules provided by the referenced target must also be
treated as if they were provided by the referencing target. Add the
concept of "forwarding" modules so that consumers can use modules
created by these sources as well.

Note that this is only sensible for Fortran where module usages are
implicit as far as CMake's visibility model is concerned. C++ modules
have their own concept of visibility which does not require or support
such `$<TARGET_OBJECTS>` reuse in this way.
1 parent 06df59b
History
Tip revision: d2fa56772f290c61925a70161c77be5f4334fd77 authored by Ben Boeckel on 18 November 2023, 03:53:45 UTC
Ninja: support "forwarding" modules from other targets
Tip revision: d2fa567
File Mode Size
ci
issue_templates
.gitignore -rw-r--r-- 231 bytes
artifacts.yml -rw-r--r-- 5.9 KB
os-linux.yml -rw-r--r-- 16.6 KB
os-macos.yml -rw-r--r-- 5.7 KB
os-windows.yml -rw-r--r-- 10.8 KB
rules.yml -rw-r--r-- 4.0 KB
upload.yml -rw-r--r-- 1.2 KB

back to top