meson/test cases/fortran/1 basic/meson.build

11 lines
255 B
Meson
Raw Normal View History

2014-08-01 21:25:29 +08:00
project('simple fortran', 'fortran')
fc = meson.get_compiler('fortran')
if fc == 'gcc'
add_global_arguments('-fbounds-check', language : 'fortran')
endif
2016-12-20 01:34:29 +08:00
e = executable('simple', 'simple.f90',
2016-12-20 01:34:29 +08:00
fortran_args : '-ffree-form')
2014-08-01 21:25:29 +08:00
test('Simple Fortran', e)