I have a preset stored in CMakePresets.json:
... { ... "cacheVariables": { ... "SB_CONFIG_PARTITION_HEX_INPUT_FILES": "\\${APPLICATION_CONFIG_DIR}/provisioning_data_hid.json" } }
When I go to create a new build configuration with the preset, the extension creates an Extra CMake Arguments row with:
-DSB_CONFIG_PARTITION_HEX_INPUT_FILES='"\${APPLICATION_CONFIG_DIR}/provisioning_data_hid.json"'
It has added '"..."' to the value. When this is used to build it becomes:
west build ... -DSB_CONFIG_PARTITION_HEX_INPUT_FILES='"'"\${APPLICATION_CONFIG_DIR}/provisioning_data_hid.json"'"'
Now it has four pairs of quotes.
If I remove both single and double quotes in the Add Build Configuration panel, it builds correctly. So it seems that the extension is adding the quotes unnecessarily.