(self, compiler: FortranCompiler, src: Path, target)
return mod_files
Find all module and submodule needed by a Fortran target
Find all module and submodule needed by a Fortran target
Find all module and submodule needed by a Fortran target
def get_fortran_deps(self, compiler: FortranCompiler, src: Path, target) -> T.List[str]:
        """
        Find all module and submodule needed by a Fortran target
        """
        if self.use_dyndeps_for_fortran():
            return []

        dirname = Path(self.get_target_private_dir(target))
        tdeps = self.fortran_deps[target.get_basename()]
        srcdir = Path(self.source_dir)

        mod_files = _scan_fortran_file_deps(src, srcdir, dirname, tdeps, compiler)
        return mod_files
def get_fortran_deps ( self , compiler : FortranCompiler , src : Path , target ) -> T . List [ str ] : if self . use_dyndeps_for_fortran ( ) : return [ ] dirname = Path ( self . get_target_private_dir ( target ) ) tdeps = self . fortran_deps [ target . get_basename ( ) ] srcdir = Path ( self . source_dir ) mod_files = _scan_fortran_file_deps ( src , srcdir , dirname , tdeps , compiler ) return mod_files