* Fix: ITT_INCLUDE_DIR was not correctly detected * Added NGRAPH_STATIC_LIBRARY CMake flag to optionnaly compile ngraph and link it as a static library instead of a dynamic one - Definition of NGRAPH_STATIC_LIBRARY macro in callee and caller code to avoid dllexport/dllimport decoration - Adding missing definitions of the explicit instantiation of FactoryRegistry<>::get - Removed message about a non existent variable: NGRAPH_IE_STATIC_LIB_ENABLE - Removed install export directive for ngraph in case of static library * * Code style fix * Added NGRAPH_STATIC_LIBRARY CMake flag to optionnaly compile ngraph and link it as a static library instead of a dynamic one - Definition of NGRAPH_STATIC_LIBRARY macro in callee and caller code to avoid dllexport/dllimport decoration - Adding missing definitions of the explicit instantiation of FactoryRegistry<>::get - Removed message about a non existent variable: NGRAPH_IE_STATIC_LIB_ENABLE - Removed install export directive for ngraph in case of static library * - Removed redundant symbol definition - Indented properly some comments * - Making sure onnx is always compiled as a static library no matter what is the value of BUILD_SHARED_LIBS * - Making sure onnx is always compiled as a static library no matter what is the value of BUILD_SHARED_LIBS * Fixed incorrect suppression of directive * Using BUILD_SHARED_LIBS (defaulted to ON) instead of a custom CMake option NGRAPH_STATIC_LIBRARY * Removed useless comma * Forcing pugixml to be static event when BUILD_SHARED_LIBS=ON globally. * Forcing gtest for ie tests to be compiled as a static library. * Made protobuf and gtest from ngraph always static. Factorized all the force static logic for ngraph's externals in ngraph's CMakeLists.txt instead of external_*.cmake * gflags is always static * Solving cross compilation from Debian 9 * using the same pattern for other ngraph externals Co-authored-by: emmanuelattia-philips <66060489+emmanuelattia-philips@users.noreply.github.com> Co-authored-by: Emmanuel Attia <emmanuel.attia@philips.com>