Skip to content

Ninja: Fix Fortran support with response files

Brad King requested to merge brad.king/cmake:ninja-fortran-rspfile into master

The Ninja generator splits preprocessing and compilation steps for Fortran. Fix this logic to work when using response files for compilation so that it works for the preprocessing step too.

This fixes behavior under CMAKE_NINJA_FORCE_RESPONSE_FILE.

Issue: #17877

Merge request reports