fort_depend.py
fort_depend.py copied to clipboard
A python script to generate dependencies for Fortran projects
Since Fortran is case insensitive shouldn't it be sufficient to include a module with arbitrary case? If a collection of modules was written using inconsistent case in use statements than...
This program: ``` program FortDependPrecompiledProg use ISO_FORTRAN_ENV end program FortDependPrecompiledProg ``` produces this behavior: ``` /tis/releases/daniel.kahn/python-science/0.0.9/bin/fortdepend -f ~/TestFortran/TestFortDependProg.f90 -o TestDepend -w Error module ISO_FORTRAN_ENV not defined in any files. Creating...
If module file not found in the same directory, script will look recursively into all file located in root_dir (specified as input parameter -r) and try to find the module...
Some features to be added for the rewrite ### Tidying up - [x] Sort out colours in print statements (fixed in f965d613b2b3508d4266c738a96369790023b5c4) - [ ] Sort out depends by file/module...
…encies but should be ignored. This is useful when the code is linked to external libraries.