shithub: openh264

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

View raw version
if not get_option('tests').disabled()
  gtest_main_dep = dependency('gtest', main : true, fallback: ['gtest', 'gtest_main_dep'], required: true)
  gtest_dep = dependency('gtest', fallback: ['gtest', 'gtest_dep'], required: true)

  test_inc = include_directories('.')

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

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