Describe the bug:
When using "$WS_DIR$" in custom arguments file, it failed to expand the argument variable when doing batch-build, while it succeeded to build the project when not using batch build.
To Reproduce:
In custom argument, set the following variable.
name: "$PATH$"
value: "$WS_DIR$\inc"
Use "$PATH$" as include path in Project>Option>C/C++Compiler>Preprocessor.
Execute batch-build.
Expected behavior:
It works when batch-build also.
Actual behavior:
The following error occur when doing batch-build.
Failed to expand argument variable
Invalid text: "$PATH$\"
Environment:
OS: Windows10
Embedded Workbench: Arm
Embedded Workbench version: 9.50.1
VSC Extension version: 1.30.6
Additional context:
I found similar bug report in #52, but it seems that the problem is not resolved yet.
Describe the bug: When using "$WS_DIR$" in custom arguments file, it failed to expand the argument variable when doing batch-build, while it succeeded to build the project when not using batch build.
To Reproduce: In custom argument, set the following variable. name: "$PATH$" value: "$WS_DIR$\inc"
Use "$PATH$" as include path in Project>Option>C/C++Compiler>Preprocessor.
Execute batch-build.
Expected behavior: It works when batch-build also.
Actual behavior: The following error occur when doing batch-build.
Failed to expand argument variable Invalid text: "$PATH$\"
Environment:
Additional context: I found similar bug report in #52, but it seems that the problem is not resolved yet.