CMake/Modules/FortranCInterface
Victor Brunini ce45045d50 FortranCInterface: Add support for Cray module mangling
Cray Fortran uses mangling of the form `my_sub$my_module_` with the
subroutine name first.  Teach FortranCInterface to detect this case.
Add `FortranCInterface_MODULE_{,_}ORDER` result variables to report it.

With optimizations on, Cray Fortran inlines the module subroutine into
the calling object, so our symbol with the `INFO` string is not used.
Add a directive to suppress inlining to avoid this.
2025-03-13 10:18:02 -05:00
..
Verify LICENSE: Replace references to Copyright.txt with LICENSE.rst 2025-03-03 10:43:35 -05:00
call_mod.f90 FortranCInterface: Add support for Cray module mangling 2025-03-13 10:18:02 -05:00
call_sub.f FortranCInterface: Add support for Cray module mangling 2025-03-13 10:18:02 -05:00
CMakeLists.txt FortranCInterface: Add support for Cray module mangling 2025-03-13 10:18:02 -05:00
Detect.cmake FortranCInterface: Add support for Cray module mangling 2025-03-13 10:18:02 -05:00
Input.cmake.in
Macro.h.in
main.F
my_module_.c
MY_MODULE.c
my_module.f90
my_sub.f
mymodule_.c
MYMODULE.c
mymodule.f90
mysub.f
Output.cmake.in FortranCInterface: Add support for Cray module mangling 2025-03-13 10:18:02 -05:00
symbol.c.in