[PATCH wayland-protocols 0/3] Replace autotools with meson (+ build tests)

Jonas Ådahl jadahl at gmail.com
Wed Oct 11 09:00:10 UTC 2017


Hi,

I wanted to add compile tests to all protocols, testing that we can
compile on C++ and pedantic C99. I didn't care for figuring out how to
do that with autotools so I ported wayland-protocols to meson instead
before adding build testing.

Note that I have not tested how this works in a cross compile
environment, so I'd appreciate if anyone depending on such system
configuration to test this series out.


Jonas


Jonas Ådahl (3):
  Add meson build system support
  tests: Add compile tests
  Remove autotools build system

 .gitignore                | 16 --------
 Makefile.am               | 43 --------------------
 configure.ac              | 45 ---------------------
 m4/compat.m4              | 12 ------
 meson.build               | 81 ++++++++++++++++++++++++++++++++++++++
 meson_options.txt         |  4 ++
 tests/build-cxx.cc.in     | 12 ++++++
 tests/build-pedantic.c.in | 10 +++++
 tests/meson.build         | 99 +++++++++++++++++++++++++++++++++++++++++++++++
 tests/replace.py          | 23 +++++++++++
 wayland-protocols.pc.in   |  2 +-
 11 files changed, 230 insertions(+), 117 deletions(-)
 delete mode 100644 Makefile.am
 delete mode 100644 configure.ac
 delete mode 100644 m4/compat.m4
 create mode 100644 meson.build
 create mode 100644 meson_options.txt
 create mode 100644 tests/build-cxx.cc.in
 create mode 100644 tests/build-pedantic.c.in
 create mode 100644 tests/meson.build
 create mode 100755 tests/replace.py

-- 
2.13.5



More information about the wayland-devel mailing list