summaryrefslogtreecommitdiff
path: root/test/libtest
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2019-01-01 21:13:44 +0000
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-01-02 11:08:20 +0200
commitb403cb4550628acd0f1835354558cd5a5b131edf (patch)
treef1ddc87cdf6f91d5cc9f948c592b6fd1cd5006ce /test/libtest
parent5802259b3c6ee48d1ee603595d462306f9293605 (diff)
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>
Diffstat (limited to 'test/libtest')
-rw-r--r--test/libtest/meson.build12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/libtest/meson.build b/test/libtest/meson.build
index b998154d..e0893b70 100644
--- a/test/libtest/meson.build
+++ b/test/libtest/meson.build
@@ -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,
+]