Fixed generation of plugins.hpp and disabled some proxy tests (#12637)

This commit is contained in:
Ilya Churaev 2022-08-19 19:50:59 +04:00 committed by GitHub
parent 000f5d8049
commit 9a4326012c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -36,7 +36,8 @@ IE_DEFINE_EXTENSION_CREATE_FUNCTION_DECLARATION(${_IE_CREATE_EXTENSION_FUNC});")
# definitions
set(dev_config "{")
if(${mapped_dev_name}_CONFIG)
foreach(props IN LISTS ${mapped_dev_name}_CONFIG)
string(REPLACE "@" ";" dev_config_parced "${${mapped_dev_name}_CONFIG}")
foreach(props IN LISTS dev_config_parced)
string(REPLACE ":" ";" props "${props}")
list(GET props 0 key)

View File

@ -338,7 +338,9 @@ function(ie_generate_plugins_hpp)
# add default plugin config options
if(${device_name}_CONFIG)
list(APPEND device_configs -D "${device_name}_CONFIG=${${device_name}_CONFIG}")
# Replace ; to @ in order to have list inside list
string(REPLACE ";" "@" config "${${device_name}_CONFIG}")
list(APPEND device_configs -D "${device_name}_CONFIG=${config}")
endif()
endforeach()