parent
cf7935be61
commit
1d6ed8cac8
2 changed files with 8 additions and 4 deletions
@ -1,5 +1,11 @@ |
|||||||
project('dynamic_fortran', 'fortran') |
project('dynamic_fortran', 'fortran') |
||||||
|
|
||||||
|
if meson.get_compiler('fortran').get_id() == 'intel-cl' |
||||||
|
error('MESON_SKIP_TEST: Windows ifort does not use shared_library in a sane way') |
||||||
|
# !DEC$ ATTRIBUTES DLLEXPORT must be used! |
||||||
|
# https://software.intel.com/en-us/node/535306 |
||||||
|
endif |
||||||
|
|
||||||
dynamic = shared_library('dynamic', 'dynamic.f90') |
dynamic = shared_library('dynamic', 'dynamic.f90') |
||||||
exe = executable('test_exe', 'main.f90', link_with : dynamic) |
exe = executable('test_exe', 'main.f90', link_with : dynamic) |
||||||
test('dynamic-fortran', exe) |
test('dynamic-fortran', exe) |
||||||
|
Loading…
Reference in new issue