shithub: openh264

ref: 4e20544d2fe073a33e732ece0d1f0645358b2bde
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(), '..', '..'))