Debian Codegraph @

test cases/windows/26 global crt value/meson.build

raw
1 project('global-crt-value', 'c')
2
3 if host_machine.system() != 'windows'
4 error('MESON_SKIP_TEST: unsupported platform')
5 endif
6
7 c = meson.get_compiler('c')
8 if c.get_argument_syntax() != 'msvc'
9 error('MESON_SKIP_TEST: unsupported compiler')
10 endif
11
12 liba_dep = subproject('liba').get_variable('liba_dep')
13
14 test_exe = executable('test-same-crt',
15 sources: ['test.c'],
16 dependencies: [liba_dep])
17
18 test('test-same-crt', test_exe)