meson.build 496 B

123456789101112131415161718
  1. doctest_dep = dependency('doctest', fallback : ['onqtam-doctest', 'doctest_dep'])
  2. requests = executable('requests', ['requests.cpp'],
  3. cpp_args : '-DDOCTEST_CONFIG_IMPLEMENT_WITH_MAIN',
  4. dependencies: [coeurl_dep, doctest_dep],
  5. install : false)
  6. test('requests', requests)
  7. requests_tls = executable('requests_tls', ['requests_tls.cpp'],
  8. cpp_args : '-DDOCTEST_CONFIG_IMPLEMENT_WITH_MAIN',
  9. dependencies: [coeurl_dep, doctest_dep],
  10. install : false)
  11. test('requests_tls', requests_tls)