add werror in project default options
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
override_dh_auto_configure:
mkdir -p build
- meson --buildtype=plain --werror --prefix=/usr --sysconfdir=/etc --libdir=lib/$(DEB_HOST_MULTIARCH) --bindir=lib/nnstreamer/bin --includedir=include -Dinstall-example=true -Denable-tensorflow=$(enable_tf) build
+ meson --buildtype=plain --prefix=/usr --sysconfdir=/etc --libdir=lib/$(DEB_HOST_MULTIARCH) --bindir=lib/nnstreamer/bin --includedir=include -Dinstall-example=true -Denable-tensorflow=$(enable_tf) build
override_dh_auto_build:
ninja -C build
license: ['LGPL'],
meson_version: '>=0.40.0',
default_options: [
+ 'werror=true',
'warning_level=1',
'c_std=gnu89',
'cpp_std=c++11'
enable_tf=false
%endif
-meson --buildtype=plain --werror --prefix=%{_prefix} --sysconfdir=%{_sysconfdir} --libdir=%{_libdir} --bindir=%{nnstexampledir} --includedir=%{_includedir} -Dinstall-example=true -Denable-tensorflow=${enable_tf} build
+meson --buildtype=plain --prefix=%{_prefix} --sysconfdir=%{_sysconfdir} --libdir=%{_libdir} --bindir=%{nnstexampledir} --includedir=%{_includedir} -Dinstall-example=true -Denable-tensorflow=${enable_tf} build
ninja -C build %{?_smp_mflags}