libcamera/test/meson.build
Kieran Bingham b403cb4550 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>
2019-01-02 11:08:20 +02:00

26 lines
535 B
Meson

subdir('libtest')
subdir('media_device')
public_tests = [
['list', 'list.cpp'],
]
internal_tests = [
]
foreach t : public_tests
exe = executable(t[0], t[1],
link_with : test_libraries,
include_directories : test_includes_public)
test(t[0], exe)
endforeach
foreach t : internal_tests
exe = executable(t[0], t[1],
link_with : test_libraries,
include_directories : test_includes_internal)
test(t[0], exe)
endforeach