shithub: openh264

ref: f02cf48cae01ac087b41a5a125b3bc4f2c71f6a0
dir: /test/meson.build/

View raw version
build_tests = get_option('tests')

if not build_tests.disabled()
  gtest_main_dep = dependency('gtest', main : true, fallback: ['gtest', 'gtest_main_dep'], required: build_tests)
  gtest_dep = dependency('gtest', fallback: ['gtest', 'gtest_dep'], required: build_tests)

  test_inc = include_directories('.')

  test_data_generator_sources = files('api/DataGenerator.cpp')
  test_base_encoder_sources = files('api/BaseEncoderTest.cpp')

  if gtest_dep.found() and gtest_main_dep.found()
    subdir('api')
    subdir('common')
    subdir('decoder')
    subdir('encoder')
    subdir('processing')
  endif
endif