Files
external_libcamera/test
Laurent Pinchart 6cd8491258 test: Don't add current build directory to include path
Meson adds the current source and build directory to the include path by
default. This causes a namespace clash in tests when using C++20, as the
Span class test is compiled into a binary named 'span', which then gets
included by source code through indirect '#include <span>' directives.
Unsurprisingly, the compiler doesn't react happily when fed binary data.

We could work around the problem by renaming the test executable, but
disabling the implicit inclusion of the local directory is a more
generic solution that will avoid similar issues in the future.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
2024-05-07 19:35:43 +03:00
..
2022-08-26 01:04:27 +03:00
2021-08-03 10:55:21 +03:00
2021-12-03 19:20:41 +02:00
2022-10-10 17:04:29 +03:00