shithub: openh264

ref: f5cc1c082fb481d491014b84194e07c5c612c1e5
dir: /test/api/meson.build/

View raw version
test_sources = [
  'BaseDecoderTest.cpp',
  'BaseThreadDecoderTest.cpp',
  'BaseEncoderTest.cpp',
  'cpp_interface_test.cpp',
  'DataGenerator.cpp',
  'decode_api_test.cpp',
  'decode_encode_test.cpp',
  'decoder_ec_test.cpp',
  'decoder_test.cpp',
  'thread_decoder_test.cpp',
  'encode_decode_api_test.cpp',
  'encode_options_test.cpp',
  'encoder_test.cpp',
  'ltr_test.cpp',
  'simple_test.cpp',
  'c_interface_test.c',
  'sha1.c',
]

cpp_args = cpp.get_supported_arguments(['-Wno-dangling-else'])

e = executable('test_api', test_sources,
        dependencies : gtest_dep,
        include_directories: [inc, test_inc],
        cpp_args: cpp_args,
        link_with: [libcommon, libencoder, libdecoder, libprocessing])

test('api', e,
  timeout: 300,
  workdir: join_paths(meson.current_source_dir(), '..', '..'))