summaryrefslogtreecommitdiffstats
path: root/test cases/windows/21 masm/meson.build
blob: b6b8fbbb02a03e5ff28b6c584cdd173d0dbe4765 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
project('test-masm', 'c')

if get_option('backend').startswith('vs')
  error('MESON_SKIP_TEST: masm is not supported by vs backend')
endif

cc = meson.get_compiler('c')

# MASM must be found when using MSVC, otherwise it is optional
if not add_languages('masm', required: cc.get_argument_syntax() == 'msvc')
  error('MESON_SKIP_TEST: masm not available')
endif

executable('app', 'hello.masm')