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.

13 lines
327 B

project('blocks-dependency', 'c')
id = meson.get_compiler('c').get_id()
if id != 'clang' or build_machine.system() == 'windows'
error('MESON_SKIP_TEST: Only clang on unix-like systems supports the blocks extension.')
endif
exe = executable('main', 'main.c',
dependencies: dependency('blocks')
)
test('test-blocks', exe)