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.
15 lines
453 B
15 lines
453 B
project('clash', 'c') |
|
|
|
# This setup causes a namespace clash when two Meson targets would |
|
# produce a Ninja targets with the same name. It only works on |
|
# unix, because on Windows the target has a '.exe' suffix. |
|
# |
|
# This test might fail to work on different backends or when |
|
# output location is redirected. |
|
|
|
if host_machine.system() == 'windows' |
|
error('This is expected.') |
|
endif |
|
|
|
executable('clash', 'clash.c') |
|
run_target('clash', 'echo', 'clash 1')
|
|
|