Skip to content

Commit

Permalink
test:fortran7: default static so Intel/VS-based compilers pass
Browse files Browse the repository at this point in the history
we did the same thing earlier with other Fortran tests for the same
reason.
  • Loading branch information
scivision authored and dcbaker committed Jun 15, 2020
1 parent 8905a63 commit 4ba06fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test cases/fortran/7 generated/meson.build
Original file line number Diff line number Diff line change
@@ -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')
Expand Down

0 comments on commit 4ba06fb

Please sign in to comment.