meson.build 311 B

1234567891011121314151617
  1. project('threads', 'cpp', 'c',
  2. default_options : ['cpp_std=c++11'])
  3. threaddep = dependency('threads')
  4. test('cppthreadtest',
  5. executable('cppthreadprog', 'threadprog.cpp',
  6. dependencies : threaddep
  7. )
  8. )
  9. test('cthreadtest',
  10. executable('cthreadprog', 'threadprog.c',
  11. dependencies : threaddep
  12. )
  13. )