The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
439 B
14 lines
439 B
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)
|
|
|