From 9b72f46d3b57418bf7275f6bf8d6c86722dc02ae Mon Sep 17 00:00:00 2001 From: MyungJoo Ham Date: Tue, 31 Mar 2020 19:24:52 +0900 Subject: [PATCH] [Option] Enable tensor-filter C++ class by default Turn the C++ class support on by default. And update spec file to add .hh file. Signed-off-by: MyungJoo Ham --- meson_options.txt | 2 +- packaging/nnstreamer.spec | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/meson_options.txt b/meson_options.txt index 55a897f..7de7e99 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -22,7 +22,7 @@ option('restricted-elements', type: 'string', value: '') option('enable-tflite-nnapi-delegation', type: 'boolean', value: false) # true to enable tensorflow-lite to delegate nnapi interpretation to nnfw backend in tizen option('enable-nnfw-runtime', type: 'boolean', value: false) # true to enable nnfw tensor filter element option('enable-cppfilter', type: 'boolean', value: true) # Allows C++ custom filters -option('enable-filter-cpp-class', type: 'boolean', value: false) # Allows to accept C++ classes as filter subplugin implementation. +option('enable-filter-cpp-class', type: 'boolean', value: true) # Allows to accept C++ classes as filter subplugin implementation. option('enable-tizen-sensor', type: 'boolean', value: false) option('enable-edgetpu', type: 'boolean', value: false) option('enable-armnn', type: 'boolean', value: false) diff --git a/packaging/nnstreamer.spec b/packaging/nnstreamer.spec index f44ae32..1aa59c1 100644 --- a/packaging/nnstreamer.spec +++ b/packaging/nnstreamer.spec @@ -624,6 +624,7 @@ cp -r result %{buildroot}%{_datadir}/nnstreamer/unittest/ %files cpp-devel %{_includedir}/nnstreamer/tensor_filter_cpp.hh +%{_includedir}/nnstreamer/nnstreamer_cppplugin_api_filter.hh %{_libdir}/pkgconfig/nnstreamer-cpp.pc %if 0%{?edgetpu_support} -- 2.7.4