test:fortran7: default static so Intel/VS-based compilers pass
we did the same thing earlier with other Fortran tests for the same reason.
This commit is contained in:
parent
8905a637be
commit
4ba06fb4dd
|
@ -1,15 +1,15 @@
|
|||
# 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')
|
||||
|
|
Loading…
Reference in New Issue