-
- Downloads
Ninja: Add explicit preprocessing step for Fortran
All Fortran sources need to be preprocessed before any source may be compiled so that module dependencies can be (later) extracted. Factor out an explicit preprocessing step preceding compilation. Use Ninja depfile dependencies on the preprocessing step and then compile the already-preprocessed source with a separate build statement that depends explicitly only on the preprocessor output. Later we will insert dynamic discovery of module dependencies between these steps.
Showing
- Modules/Compiler/GNU-Fortran.cmake 3 additions, 0 deletionsModules/Compiler/GNU-Fortran.cmake
- Modules/Compiler/Intel-Fortran.cmake 3 additions, 0 deletionsModules/Compiler/Intel-Fortran.cmake
- Modules/Compiler/SunPro-Fortran.cmake 3 additions, 0 deletionsModules/Compiler/SunPro-Fortran.cmake
- Source/cmNinjaTargetGenerator.cxx 165 additions, 1 deletionSource/cmNinjaTargetGenerator.cxx
- Source/cmNinjaTargetGenerator.h 5 additions, 0 deletionsSource/cmNinjaTargetGenerator.h
Loading
Please register or sign in to comment