blob: 53f1a7f5829be61d826ecb575e0cf1fac0db0af4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
project('nobuilddir', 'c',
default_options : ['werror=true', 'buildtype=plain'])
cc = meson.get_compiler('c')
incwarg = '-Wmissing-include-dirs'
if cc.has_argument(incwarg)
executable('prog', 'prog.c',
c_args : incwarg,
include_directories : include_directories('include'))
else
error('MESON_SKIP_TEST compiler does not support bad inc dir argument.')
endif
|