blob: f0126ac15eb433de57bf195d554ea3f0436aaa7d [file] [log] [blame]
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)