Rename cmake ie_ macros and ie_parallel script (#19606)

* Rename cmake ie_ macros and ie_parallel script

* Add warning messages
This commit is contained in:
Ilya Churaev
2023-09-05 21:31:52 +04:00
committed by GitHub
parent 8f6b30a8f9
commit 1d62f0141d
23 changed files with 43 additions and 37 deletions

View File

@@ -255,7 +255,7 @@ get_linux_name(LINUX_OS_NAME)
# macro to mark target as conditionally compiled
function(ie_mark_target_as_cc TARGET_NAME)
function(ov_mark_target_as_cc TARGET_NAME)
set(cc_library openvino::conditional_compilation)
if(TARGET IE::conditional_compilation)
set(cc_library IE::conditional_compilation)
@@ -275,8 +275,9 @@ function(ie_mark_target_as_cc TARGET_NAME)
add_dependencies(${TARGET_NAME} conditional_compilation_gen)
endfunction()
function(ov_mark_target_as_cc)
ie_mark_target_as_cc(${ARGN})
function(ie_mark_target_as_cc TARGET_NAME)
message(WARNING "This function is deprecated. Please use ov_mark_target_as_cc(TARGET_NAME) instead.")
ov_mark_target_as_cc(${TARGET_NAME})
endfunction()
include(python_requirements)