meson.build 425 B

12345678910111213
  1. project('nsstring', 'objc')
  2. if host_machine.system() == 'darwin'
  3. dep = dependency('appleframeworks', modules : 'foundation')
  4. else
  5. dep = dependency('gnustep')
  6. if host_machine.system() == 'linux' and meson.get_compiler('objc').get_id() == 'clang'
  7. error('MESON_SKIP_TEST: GNUstep is broken on Linux with Clang')
  8. endif
  9. endif
  10. exe = executable('stringprog', 'stringprog.m', dependencies : dep)
  11. test('stringtest', exe)