Minimize rebuild for Makefiles generator (#16729)
* Add dependency from ov_plugins.hpp only for files which use it * Remove rebuild files depends on CI_BUILD_NUMBER changes * Try to fix static build * Fixed comments * Fixed build * Merged some change * Try to fix build * Try to fix nvidia build * Take LTO value from target property
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
set(TARGET_NAME ov_auto_batch_unit_tests)
|
||||
|
||||
set(CI_BUILD_NUMBER "unittest")
|
||||
addVersionDefines(${OpenVINO_SOURCE_DIR}/src/plugins/auto_batch/src/auto_batch.cpp CI_BUILD_NUMBER)
|
||||
add_definitions(-DAUTOBATCH_UNITTEST)
|
||||
|
||||
if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
|
||||
@@ -52,5 +51,6 @@ addIeTargetTest(
|
||||
LABELS
|
||||
Auto_Batch
|
||||
)
|
||||
ov_add_version_defines(${OpenVINO_SOURCE_DIR}/src/plugins/auto_batch/src/auto_batch.cpp ${TARGET_NAME})
|
||||
|
||||
set_ie_threading_interface_for(${TARGET_NAME})
|
||||
|
||||
Reference in New Issue
Block a user