aboutsummaryrefslogtreecommitdiff
path: root/tests/meson.build
AgeCommit message (Collapse)Author
2022-02-25build: Bump wayland-scanner version to 1.20.0Tadeo Kondrak
Wayland 1.20.0 adds support for the type attribute to mark events as destructors. Signed-off-by: Tadeo Kondrak <me@tadeo.ca>
2021-10-11tests: check whether -Wl,--unresolved-symbols=ignore-all is supportedAlex Richardson
When linking for macOS, this linker flag is rejected. Instead of always passing it, we can check whether it is supported first. Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> Reviewed-by: Simon Ser <contact@emersion.fr>
2021-10-04tests: allow cross-compiling the testsAlex Richardson
I am trying to cross-compile from macOS for FreeBSD and this is currently failing since the tests attempt to build a native binary that links against the wayland-client and wayland-server libraries for the FreeBSD system. I believe we should be building them for the target system and not the current host (especially since there is no way to build wayland-client and wayland-server for macOS, but I do want to check that the files build correctly for FreeBSD). Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> Reviewed-by: Simon Ser <contact@emersion.fr>
2021-09-19meson.build: wayland-scanner is only needed for testsFabrice Fontaine
wayland-scanner is only needed for tests so don't require it if tests are disabled Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2021-09-01build: only require C/C++ compilers for hostSimon Ser
We use the no-op executables in test() directives, so these will be run on the host. This fixes the following warning: tests/meson.build:23: WARNING: add_languages is missing native:, assuming languages are wanted for both host and build. Signed-off-by: Simon Ser <contact@emersion.fr>
2021-09-01build: fix indentation in tests/meson.buildSimon Ser
The rest of the file uses tabs, not spaces. Signed-off-by: Simon Ser <contact@emersion.fr>
2021-08-28tests: Include libwayland cflags/ldflagsDaniel Stone
When we're building C++ test executables, make sure we pull in the correct libwayland headers, to avoid trying to compile against a version different from the scanner we built it against. Signed-off-by: Daniel Stone <daniels@collabora.com>
2021-03-26tests: Add compile testsJonas Ådahl
Only tested by the meson build system. Signed-off-by: Jonas Ådahl <jadahl@gmail.com> Reviewed-by: Simon Ser <contact@emersion.fr>
2021-03-26Add meson build system supportJonas Ådahl
Signed-off-by: Jonas Ådahl <jadahl@gmail.com> Reviewed-by: Simon Ser <contact@emersion.fr>