And fix the list of supported file suffixes, and use .f90 for all fortran tests since ifort, the Intel Fortran compiler ignores files ending with .f95, .f03, and .f08pull/1253/head
parent
6e5c87e380
commit
2589009d23
12 changed files with 15 additions and 13 deletions
@ -1,4 +1,4 @@ |
|||||||
project('modules', 'fortran') |
project('modules', 'fortran') |
||||||
|
|
||||||
e = executable('modprog', 'stuff.f95', 'prog.f95') |
e = executable('modprog', 'stuff.f90', 'prog.f90') |
||||||
test('moduletest', e) |
test('moduletest', e) |
||||||
|
@ -1,5 +1,5 @@ |
|||||||
project('try-static-library', 'fortran') |
project('try-static-library', 'fortran') |
||||||
|
|
||||||
static_hello = static_library('static_hello', 'static_hello.f95') |
static_hello = static_library('static_hello', 'static_hello.f90') |
||||||
|
|
||||||
executable('test_exe', 'main.f95', link_with : static_hello) |
executable('test_exe', 'main.f90', link_with : static_hello) |
||||||
|
@ -1,4 +1,4 @@ |
|||||||
project('dynamic_fortran', 'fortran') |
project('dynamic_fortran', 'fortran') |
||||||
|
|
||||||
dynamic = shared_library('dynamic', 'dynamic.f95') |
dynamic = shared_library('dynamic', 'dynamic.f90') |
||||||
executable('test_exe', 'main.f95', link_with : dynamic) |
executable('test_exe', 'main.f90', link_with : dynamic) |
||||||
|
Loading…
Reference in new issue