[PATCH libinput 5/5] Add meson.build file
Peter Hutterer
peter.hutterer at who-t.net
Mon May 1 23:37:55 UTC 2017
On Sun, Apr 30, 2017 at 08:52:21PM +0200, Quentin Glidic wrote:
> On 4/26/17 4:20 AM, Peter Hutterer wrote:
> > Signed-off-by: Peter Hutterer <peter.hutterer at 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).
thansks, amended locally
Cheers,
Peter
More information about the wayland-devel
mailing list