CMake/Tests/FortranOnly
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
..
checksayhello.cmake
checktestf2.cmake
CMakeLists.txt LFortran: Remove hard-coded --generate-object-code flag 2025-01-09 14:49:39 -05:00
hello.f
IntelIfDef.f Ninja: Pass preprocessor definitions when compiling with Intel Fortran 2019-09-03 14:20:26 -04:00
IntelIfDef.inc Ninja: Pass preprocessor definitions when compiling with Intel Fortran 2019-09-03 14:20:26 -04:00
no_preprocess_source_fpp.fpp Fortran: Add Fortran_PREPROCESS property 2020-05-21 11:44:14 -04:00
no_preprocess_source_lower.f Fortran: Add Fortran_PREPROCESS property 2020-05-21 11:44:14 -04:00
no_preprocess_source_upper.F Fortran: Add Fortran_PREPROCESS property 2020-05-21 11:44:14 -04:00
no_preprocess_target_fpp.fpp Fortran: Add Fortran_PREPROCESS property 2020-05-21 11:44:14 -04:00
no_preprocess_target_lower.f Fortran: Add Fortran_PREPROCESS property 2020-05-21 11:44:14 -04:00
no_preprocess_target_upper.F Fortran: Add Fortran_PREPROCESS property 2020-05-21 11:44:14 -04:00
preprocess2.f Ninja: Avoid preprocessing twice with explicit Fortran_PREPROCESS 2022-02-24 12:54:46 -05:00
preprocess3.f Fortran: Add Fortran_PREPROCESS property 2020-05-21 11:44:14 -04:00
preprocess.F
test_preprocess.cmake
testf.f
testRC.rc
world.f