test:fortran7: default static so Intel/VS-based compilers pass

we did the same thing earlier with other Fortran tests for the same
reason.
pull/7329/head
Michael Hirsch 5 years ago committed by Dylan Baker
parent 8905a637be
commit 4ba06fb4dd
  1. 6
      test cases/fortran/7 generated/meson.build

@ -1,15 +1,15 @@
# Tests whether fortran sources files created during configuration are properly # Tests whether fortran sources files created during configuration are properly
# scanned for dependency information # scanned for dependency information
project('generated', 'fortran') project('generated', 'fortran',
default_options : ['default_library=static'])
conf_data = configuration_data() conf_data = configuration_data()
conf_data.set('ONE', 1) conf_data.set('ONE', 1)
conf_data.set('TWO', 2) conf_data.set('TWO', 2)
conf_data.set('THREE', 3) conf_data.set('THREE', 3)
outfile = configure_file( configure_file(input : 'mod3.fpp', output : 'mod3.f90', configuration : conf_data)
input : 'mod3.fpp', output : 'mod3.f90', configuration : conf_data)
# Manually build absolute path to source file to test # Manually build absolute path to source file to test
# https://github.com/mesonbuild/meson/issues/7265 # https://github.com/mesonbuild/meson/issues/7265
three = library('mod3', meson.current_build_dir() / 'mod3.f90') three = library('mod3', meson.current_build_dir() / 'mod3.f90')

Loading…
Cancel
Save