Fixed generation of plugins.hpp and disabled some proxy tests (#12637)
This commit is contained in:
parent
000f5d8049
commit
9a4326012c
@ -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)
|
||||
|
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user