Closed
Description
If I have a source file datetime.f90 that contains a module called datetime_module
, then gfortran (and all other compilers I believe) output datetime_module.mod. However, fpm expects datetime.mod and can't find it.
I believe the assumption about .mod filename comes from somewhere around here, however I don't have a solution right now.
I think the safe assumption is that the .mod file will have the module name, for fpm will need to scan the source file to get this info.
Further, a source file can have multiple modules defined, and for each the compiler will emit one .mod file.
Metadata
Metadata
Assignees
Labels
No labels