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