On 4/26/17 4:20 AM, Peter Hutterer wrote:
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
  meson.build       | 596 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
  meson_options.txt |  16 ++
  2 files changed, 612 insertions(+)
  create mode 100644 meson.build
  create mode 100644 meson_options.txt

diff --git a/meson.build b/meson.build
new file mode 100644
index 0000000..a6cbb81
--- /dev/null
+++ b/meson.build
@@ -0,0 +1,596 @@
+project('libinput', 'c', 'cpp',
+       version : '1.7.0',
+       license: 'MIT/Expat',
+       default_options : [ 'c_std=gnu99' ],

As suggested by Jussi Pakkanen (Meson maintainer) you should use warning_level=2 here and …


[snip]
+cppflags = ['-Wall', '-Wextra', '-Wno-unused-parameter', '-g', 
'-fvisibility=hidden']

… drop -Wall and -Wextra here, as these are set by Meson.

-g too, for debug and debugoptimized build (default is debug).

Cheers,

--

Quentin “Sardem FF7” Glidic
_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to