test:fortran7: default static so Intel/VS-based compilers pass
we did the same thing earlier with other Fortran tests for the same
reason.
# Tests whether fortran sources files created during configuration are properly
# scanned for dependency information
-project('generated', 'fortran')
+project('generated', 'fortran',
+ default_options : ['default_library=static'])
conf_data = configuration_data()
conf_data.set('ONE', 1)
conf_data.set('TWO', 2)
conf_data.set('THREE', 3)
-outfile = configure_file(
- input : 'mod3.fpp', output : 'mod3.f90', configuration : conf_data)
+configure_file(input : 'mod3.fpp', output : 'mod3.f90', configuration : conf_data)
# Manually build absolute path to source file to test
# https://github.com/mesonbuild/meson/issues/7265
three = library('mod3', meson.current_build_dir() / 'mod3.f90')
