From 342a0d2e767c33ff28a39794813294c67c9e7312 Mon Sep 17 00:00:00 2001 From: Ryan Lucia Date: Sat, 2 Feb 2019 01:32:43 -0500 Subject: Add meson as a secondary build system This will bring back a first-party buildsystem for MSVC after the previous solution https://github.com/libass/libass-msvc was retired and make it easier to use libass as a subproject in other meson projects. It does not currently support all of our utilities nor testing and fuzzing infrastructure and x86_32 assembly is always built in PIC mode. Due to meson deficiencies shared libraries lack symbol export control and it is not possible to build x32 assembly. However, for packaging and downstream use it is feature complete on Windows and static-only builds are sufficient for subproject use on any platform, so it brings a net positive and keeping this level of support up alongside autotools is expected to be barely any effort. And ofc future meson versions and patches to this build setup might improve it further. The port was initially brought up by Ryan Lucia (CoffeeFlux) and later further adapted and polished for merge by arch1t3cht and torque, but several more people contributed bits and pieces. They are listed in the following. Reviewed-by: Eli Schwartz Reviewed-by: Oneric Co-authored-by: arch1t3cht Co-authored-by: torque Co-authored-by: Luni-4 Co-authored-by: Funami580 Co-authored-by: woclass <5158738+inkydragon@users.noreply.github.com> Co-authored-by: line0 Co-authored-by: Myaamori Co-authored-by: Xavier Claessens --- test/meson.build | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/meson.build (limited to 'test') diff --git a/test/meson.build b/test/meson.build new file mode 100644 index 0000000..69cac4f --- /dev/null +++ b/test/meson.build @@ -0,0 +1,10 @@ +test_src = files('test.c') + +libass_test = executable( + 'libass_test', + test_src, + install: false, + include_directories: incs, + dependencies: deps + test_deps, + link_with: libass_for_tools, +) -- cgit v1.2.3