summaryrefslogtreecommitdiffstats
path: root/test cases/frameworks/29 blocks/meson.build
blob: 398c92c2b7b022407eedde209178878920e48eb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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)