Integrate JSON libs (#9145)

* Add nlohmann json (Release 3.10.4) as submodule

* Move nlohmann_json lib to json folder, add json_schema validator lib as submodule

* Move BUILD_SHARED_LIBS flag to a separete scope

* Add export of nlohmann_json_schema_validator

* Fix build

* set folder thirdparty

* link lib to offline_transformations and benchmark_app

* suppress shadowing names warning in nlohmann_json lib

* fix include in benchmark_app

* Resolve review comments: add json subdirs to samples cmake

* Fix static build

* Proper json integration

* removed cpp_samples_deps component

Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>
This commit is contained in:
Ilya Lavrenov
2021-12-12 20:40:41 +03:00
committed by GitHub
parent 75ac2d4b7d
commit 9e519946f0
11 changed files with 59 additions and 13 deletions

View File

@@ -20,7 +20,7 @@ openvino_developer_export_targets(COMPONENT openvino_common TARGETS format_reade
# install C++ samples
ie_cpack_add_component(cpp_samples DEPENDS cpp_samples_deps core)
ie_cpack_add_component(cpp_samples DEPENDS core_dev)
if(UNIX)
install(DIRECTORY cpp/