1diff --git a/inference-engine/CMakeLists.txt b/inference-engine/CMakeLists.txt 2index d5feedb..1b7aa7e 100644 3--- a/inference-engine/CMakeLists.txt 4+++ b/inference-engine/CMakeLists.txt 5@@ -59,11 +59,11 @@ if(ENABLE_TESTS) 6 add_subdirectory(tests) 7 endif() 8 9-add_subdirectory(tools) 10+#add_subdirectory(tools) 11 12 # gflags and format_reader targets are kept inside of samples directory and 13 # they must be built even if samples build is disabled (required for tests and tools). 14-add_subdirectory(samples) 15+#add_subdirectory(samples) 16 17 file(GLOB_RECURSE SAMPLES_SOURCES samples/*.cpp samples/*.hpp samples/*.h) 18 add_cpplint_target(sample_cpplint 19@@ -134,7 +134,7 @@ install(DIRECTORY ${ie_python_api_SOURCE_DIR}/sample/ 20 add_custom_target(ie_dev_targets ALL DEPENDS inference_engine HeteroPlugin) 21 22 # Developer package 23-ie_developer_export_targets(format_reader) 24+#ie_developer_export_targets(format_reader) 25 26 if (ENABLE_NGRAPH) 27 ie_developer_export_targets(${NGRAPH_LIBRARIES}) 28diff --git a/inference-engine/src/inference_engine/CMakeLists.txt b/inference-engine/src/inference_engine/CMakeLists.txt 29index 54e264c..c0b7495 100644 30--- a/inference-engine/src/inference_engine/CMakeLists.txt 31+++ b/inference-engine/src/inference_engine/CMakeLists.txt 32@@ -228,7 +228,7 @@ target_include_directories(${TARGET_NAME}_nn_builder PRIVATE "${CMAKE_CURRENT_SO 33 34 # Static library used for unit tests which are always built 35 36-add_library(${TARGET_NAME}_s STATIC 37+add_library(${TARGET_NAME}_s STATIC EXCLUDE_FROM_ALL 38 $<TARGET_OBJECTS:${TARGET_NAME}_obj> 39 ${NN_BUILDER_LIBRARY_SRC}) 40 41diff --git a/inference-engine/src/mkldnn_plugin/CMakeLists.txt b/inference-engine/src/mkldnn_plugin/CMakeLists.txt 42index cd727fd..2f09b44 100644 43--- a/inference-engine/src/mkldnn_plugin/CMakeLists.txt 44+++ b/inference-engine/src/mkldnn_plugin/CMakeLists.txt 45@@ -184,9 +184,9 @@ endif() 46 add_library(mkldnn_plugin_layers_no_opt OBJECT ${CROSS_COMPILED_SOURCES}) 47 set_ie_threading_interface_for(mkldnn_plugin_layers_no_opt) 48 49-add_library(mkldnn_plugin_layers_no_opt_s OBJECT ${CROSS_COMPILED_SOURCES}) 50-set_ie_threading_interface_for(mkldnn_plugin_layers_no_opt_s) 51-target_compile_definitions(mkldnn_plugin_layers_no_opt_s PRIVATE USE_STATIC_IE) 52+#add_library(mkldnn_plugin_layers_no_opt_s OBJECT ${CROSS_COMPILED_SOURCES}) 53+#set_ie_threading_interface_for(mkldnn_plugin_layers_no_opt_s) 54+#target_compile_definitions(mkldnn_plugin_layers_no_opt_s PRIVATE USE_STATIC_IE) 55 56 set(object_libraries mkldnn_plugin_layers_no_opt) 57 set(mkldnn_plugin_object_libraries mkldnn_plugin_layers_no_opt_s) 58@@ -220,7 +220,7 @@ if (ENABLE_SSE42) 59 endfunction() 60 61 mkldnn_create_sse42_layers(mkldnn_plugin_layers_sse42) 62- mkldnn_create_sse42_layers(mkldnn_plugin_layers_sse42_s) 63+ #mkldnn_create_sse42_layers(mkldnn_plugin_layers_sse42_s) 64 65 list(APPEND object_libraries mkldnn_plugin_layers_sse42) 66 list(APPEND mkldnn_plugin_object_libraries mkldnn_plugin_layers_sse42_s) 67@@ -259,7 +259,7 @@ if (ENABLE_AVX2) 68 endfunction() 69 70 mkldnn_create_avx2_layers(mkldnn_plugin_layers_avx2) 71- mkldnn_create_avx2_layers(mkldnn_plugin_layers_avx2_s) 72+ #mkldnn_create_avx2_layers(mkldnn_plugin_layers_avx2_s) 73 74 list(APPEND object_libraries mkldnn_plugin_layers_avx2) 75 list(APPEND mkldnn_plugin_object_libraries mkldnn_plugin_layers_avx2_s) 76@@ -297,7 +297,7 @@ if (ENABLE_AVX512F) 77 endfunction() 78 79 mkldnn_create_avx512f_layers(mkldnn_plugin_layers_avx512) 80- mkldnn_create_avx512f_layers(mkldnn_plugin_layers_avx512_s) 81+ #mkldnn_create_avx512f_layers(mkldnn_plugin_layers_avx512_s) 82 83 list(APPEND object_libraries mkldnn_plugin_layers_avx512) 84 list(APPEND mkldnn_plugin_object_libraries mkldnn_plugin_layers_avx512_s) 85@@ -317,7 +317,7 @@ target_link_libraries(${TARGET_NAME} PRIVATE inference_engine ${INTEL_ITT_LIBS} 86 87 # add test object library 88 89-add_library(${TARGET_NAME}_obj OBJECT ${SOURCES} ${HEADERS}) 90+add_library(${TARGET_NAME}_obj OBJECT EXCLUDE_FROM_ALL ${SOURCES} ${HEADERS}) 91 92 target_include_directories(${TARGET_NAME}_obj PRIVATE $<TARGET_PROPERTY:inference_engine_preproc_s,INTERFACE_INCLUDE_DIRECTORIES>) 93 94diff --git a/inference-engine/src/preprocessing/CMakeLists.txt b/inference-engine/src/preprocessing/CMakeLists.txt 95index 41f14a9..0e1b4f6 100644 96--- a/inference-engine/src/preprocessing/CMakeLists.txt 97+++ b/inference-engine/src/preprocessing/CMakeLists.txt 98@@ -81,7 +81,7 @@ endif() 99 100 # Static library used for unit tests which are always built 101 102-add_library(${TARGET_NAME}_s STATIC 103+add_library(${TARGET_NAME}_s STATIC EXCLUDE_FROM_ALL 104 $<TARGET_OBJECTS:${TARGET_NAME}_obj>) 105 106 set_ie_threading_interface_for(${TARGET_NAME}_s) 107diff --git a/inference-engine/src/vpu/common/CMakeLists.txt b/inference-engine/src/vpu/common/CMakeLists.txt 108index 8995390..8413faf 100644 109--- a/inference-engine/src/vpu/common/CMakeLists.txt 110+++ b/inference-engine/src/vpu/common/CMakeLists.txt 111@@ -49,7 +49,7 @@ add_common_target("vpu_common_lib" FALSE) 112 113 # Unit tests support for graph transformer 114 if(WIN32) 115- add_common_target("vpu_common_lib_test_static" TRUE) 116+ #add_common_target("vpu_common_lib_test_static" TRUE) 117 else() 118 add_library("vpu_common_lib_test_static" ALIAS "vpu_common_lib") 119 endif() 120diff --git a/inference-engine/src/vpu/graph_transformer/CMakeLists.txt b/inference-engine/src/vpu/graph_transformer/CMakeLists.txt 121index e77296e..333f560 100644 122--- a/inference-engine/src/vpu/graph_transformer/CMakeLists.txt 123+++ b/inference-engine/src/vpu/graph_transformer/CMakeLists.txt 124@@ -60,7 +60,7 @@ add_graph_transformer_target("vpu_graph_transformer" FALSE) 125 126 # Unit tests support for graph transformer 127 if(WIN32) 128- add_graph_transformer_target("vpu_graph_transformer_test_static" TRUE) 129+ #add_graph_transformer_target("vpu_graph_transformer_test_static" TRUE) 130 else() 131 add_library("vpu_graph_transformer_test_static" ALIAS "vpu_graph_transformer") 132 endif() 133diff --git a/inference-engine/thirdparty/CMakeLists.txt b/inference-engine/thirdparty/CMakeLists.txt 134index ec22761..8bb3325 100644 135--- a/inference-engine/thirdparty/CMakeLists.txt 136+++ b/inference-engine/thirdparty/CMakeLists.txt 137@@ -36,7 +36,7 @@ function(build_with_lto) 138 endif() 139 140 add_subdirectory(pugixml) 141- add_subdirectory(stb_lib) 142+ #add_subdirectory(stb_lib) 143 add_subdirectory(ade) 144 add_subdirectory(fluid/modules/gapi) 145 146diff --git a/inference-engine/thirdparty/pugixml/CMakeLists.txt b/inference-engine/thirdparty/pugixml/CMakeLists.txt 147index 8bcb280..5a17fa3 100644 148--- a/inference-engine/thirdparty/pugixml/CMakeLists.txt 149+++ b/inference-engine/thirdparty/pugixml/CMakeLists.txt 150@@ -41,7 +41,7 @@ if(BUILD_SHARED_LIBS) 151 else() 152 add_library(pugixml STATIC ${SOURCES}) 153 if (MSVC) 154- add_library(pugixml_mt STATIC ${SOURCES}) 155+ #add_library(pugixml_mt STATIC ${SOURCES}) 156 #if (WIN32) 157 # set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /MT") 158 # set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /MTd") 159