You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using variables like ${variant:buildType} in settings.json works.
For example:
settings.json:
...
,
"cmake.buildDirectory": "${workspaceFolder}/cmake_build/${variant:Target}/${variant:buildType}/GCC_ARM",
...
Using the same Variables in tasks.json does not get substituted:
tasks.json:
...
,
{
"label": "echo",
"type": "shell",
"command": "echo ${variant:Target}"
},
...
Runnign task "echo" just prints ${variant:Target} without substituting the currently selected varaint buildType
CMake Tools Diagnostics
No response
Debug Log
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered:
@LittleDeD Thank you very much for your reply, there's not much update about this issue yet, we'll get back to you as soon as possible if there's any subsequent update.
Brief Issue Summary
Using variables like ${variant:buildType} in settings.json works.
For example:
settings.json:
...
,
"cmake.buildDirectory": "${workspaceFolder}/cmake_build/${variant:Target}/${variant:buildType}/GCC_ARM",
...
Using the same Variables in tasks.json does not get substituted:
tasks.json:
...
,
{
"label": "echo",
"type": "shell",
"command": "echo ${variant:Target}"
},
...
Runnign task "echo" just prints ${variant:Target} without substituting the currently selected varaint buildType
CMake Tools Diagnostics
No response
Debug Log
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: