test: Move include definitions to libtest
With the libtest functionality moved to its own library folder, the definitions for test includes should reasonably live there too. The libtest subdir should always remain the first entry in the test/meson.build file. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
committed by
Laurent Pinchart
parent
5802259b3c
commit
b403cb4550
@@ -5,3 +5,15 @@ libtest_sources = files([
|
||||
libtest = static_library('libtest', libtest_sources)
|
||||
|
||||
libtest_includes = include_directories('.')
|
||||
|
||||
test_libraries = [libcamera, libtest]
|
||||
|
||||
test_includes_public = [
|
||||
libtest_includes,
|
||||
libcamera_includes,
|
||||
]
|
||||
|
||||
test_includes_internal = [
|
||||
test_includes_public,
|
||||
libcamera_internal_includes,
|
||||
]
|
||||
|
||||
@@ -1,17 +1,5 @@
|
||||
subdir('libtest')
|
||||
|
||||
test_libraries = [libcamera, libtest]
|
||||
|
||||
test_includes_public = [
|
||||
libtest_includes,
|
||||
libcamera_includes,
|
||||
]
|
||||
|
||||
test_includes_internal = [
|
||||
test_includes_public,
|
||||
libcamera_internal_includes,
|
||||
]
|
||||
|
||||
subdir('media_device')
|
||||
|
||||
public_tests = [
|
||||
|
||||
Reference in New Issue
Block a user