[PATCH libinput 5/5] Add meson.build file

Quentin Glidic sardemff7+wayland at sardemff7.net
Sun Apr 30 18:52:21 UTC 2017


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).

Cheers,

-- 

Quentin “Sardem FF7” Glidic


More information about the wayland-devel mailing list