meson.build 439 B

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