forked from scivision/fortran2018-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeson.build
32 lines (27 loc) · 854 Bytes
/
meson.build
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
color_exe = executable('color', 'color_text.f90')
test('color', color_exe,
suite: 'system',
timeout: 10)
osdet = library('osdet', 'os_detect.f90')
gitrev = executable('gitrev', 'gitrev.f90')
test('Git revision log', gitrev,
suite: 'system',
timeout: 15)
complog = executable('complog', 'compiler_log.f90')
test('Compiler version logging', complog,
suite: 'system',
timeout: 15)
playsound_exe = executable('playsound', 'play_sound.f90')
if find_program('ffplay', required: false).found()
test('PlaySound', playsound_exe,
args: files('bell.aac'),
suite: 'system',
timeout: 15)
endif
if run_command(['python', '-c', 'import psutil']).returncode() == 0
callpython_exe = executable('callpython', 'call_python_script.f90',
link_with : osdet)
test('call python', callpython_exe,
suite: 'system',
timeout: 10)
endif