CMake/Modules/FortranCInterface
Saurabh Kumar daf6cc89ee LFortran: Remove hard-coded --generate-object-code flag
This was added in commit 98d0f918ba (LFortran: Add support for this
compiler, 2024-01-25, v3.31.0-rc1~303^2~2) because it is needed for
cases covered by CMake's Fortran tests.  However, it does not work
with Fortran modules and breaks lfortran's own `examples/project1`.
Move the flag to the test cases that need it, just as the original
commit did with `--implicit-interface`.

Fixes: #26597
Co-authored-by: Brad King <brad.king@kitware.com>
2025-01-09 14:49:39 -05:00
..
Verify LFortran: Remove hard-coded --generate-object-code flag 2025-01-09 14:49:39 -05:00
call_mod.f90
call_sub.f
CMakeLists.txt LFortran: Remove hard-coded --generate-object-code flag 2025-01-09 14:49:39 -05:00
Detect.cmake FortranCInterface: Simplify module symbol mangling detection regex 2024-08-02 14:59:21 -04: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
symbol.c.in