Skip to content

Ninja: Fix P1689R4 compiled-module-path field for Fortran

Brad King requested to merge brad.king/cmake:scandep-format into master

When scanning Fortran dependencies, we know the file path at which a provided module file is written. Store it in the compiled-module-path field as specified by P1689R4, instead of just duplicating the logical name. Our collator in cmake_ninja_dyndep no longer needs to assume that the module file path can be derived from the logical module name.

Also remove Fortran-specific compiled-module-path logic from cmScanDepFormat, and avoid writing lookup-method with the default value.

Merge request reports