You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which goes into a few details of how CMake builds the dependency graph for Fortran modules. Amusingly, Kitware maintained their own fork of ninja for a few years, until Google realized the dynamic dependency generation feature CMake devs had built for Fortran, would also be useful for supporting C++20 modules. The CMake module dependency generator evolved from makedepf90. The talk also explains how CMake preprocesses the files first (cc @arteevraina, @milancurcic).
A few more links to C++ proposal documents were provided during the talk:
If you search for "Makefile" at comp.lang.fortran you will find that the introduction of modules in Fortran 90 caused a lot of pain for Fortran users in the era 1990-2000 (and arguably continuing until this day). The common approach was to write their own tools (e.g. awk scripts or rudimentary Fortran parsers) to output module and include file dependencies.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I just came across the following talk,
which goes into a few details of how CMake builds the dependency graph for Fortran modules. Amusingly, Kitware maintained their own fork of ninja for a few years, until Google realized the dynamic dependency generation feature CMake devs had built for Fortran, would also be useful for supporting C++20 modules. The CMake module dependency generator evolved from makedepf90. The talk also explains how CMake preprocesses the files first (cc @arteevraina, @milancurcic).
A few more links to C++ proposal documents were provided during the talk:
For anyone interested in the topic of generating dependency graphs, there were some decent discussions at Discourse:
If you search for "Makefile" at comp.lang.fortran you will find that the introduction of modules in Fortran 90 caused a lot of pain for Fortran users in the era 1990-2000 (and arguably continuing until this day). The common approach was to write their own tools (e.g. awk scripts or rudimentary Fortran parsers) to output module and include file dependencies.
Beta Was this translation helpful? Give feedback.
All reactions