libcamera/test/libtest/meson.build
Laurent Pinchart fac471e812 test: Extract CameraTest class out of camera tests to libtest
Many tests other than the camera/ tests use a camera. To increase code
sharing, move the base CameraTest class to the test library. The class
becomes a helper that doesn't inherit from Test anymore (to avoid
diamond inheritance issues when more such helpers will exist).

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
2019-11-20 21:47:20 +02:00

20 lines
389 B
Meson

libtest_sources = files([
'camera_test.cpp',
'test.cpp',
])
libtest = static_library('libtest', libtest_sources,
dependencies : libcamera_dep)
libtest_includes = include_directories('.')
test_libraries = [libtest]
test_includes_public = [
libtest_includes,
]
test_includes_internal = [
test_includes_public,
libcamera_internal_includes,
]