The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
430 B
11 lines
430 B
5 years ago
|
project('compiler_object_in_run_command', 'c')
|
||
|
cc = meson.get_compiler('c')
|
||
|
|
||
|
# This test only checks that the compiler object can be passed to
|
||
|
# run_command(). If the compiler has been launched, it is expected
|
||
|
# to output something either to stdout or to stderr.
|
||
|
result = run_command(cc, '--version')
|
||
|
if result.stdout() == '' and result.stderr() == ''
|
||
|
error('No output in stdout and stderr. Did the compiler run at all?')
|
||
|
endif
|