Debian Codegraph @

vendored-meson/meson/test cases/unit/77 nostdlib/meson.build

raw
1 project('own libc', 'c')
2
3 # Not related to this test, but could not find a better place for this test.
4 assert(meson.get_cross_property('nonexisting', 'defaultvalue') == 'defaultvalue',
5 'Cross prop getting is broken.')
6
7 # A simple project that uses its own libc.
8
9 # Note that we don't need to specify anything, the flags to use
10 # stdlib come from the cross file.
11
12 exe = executable('selfcontained', 'prog.c')
13
14 test('standalone test', exe)