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.
12 lines
344 B
12 lines
344 B
project('no native compiler') |
|
|
|
if not meson.is_cross_build() |
|
error('MESON_SKIP_TEST test only applicable when cross building.') |
|
endif |
|
|
|
if add_languages('c', required: false, native: true) |
|
error('MESON_SKIP_TEST test only applicable when native compiler not available.') |
|
endif |
|
|
|
add_languages('c') |
|
executable('main', 'main.c', native: true)
|
|
|