-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is it possible to set a build folder per board and per variant?
Like:
build/picow/rel
build/picow/deb
build/pico2w/rel
build/pico2w/deb
So looking into the source I came across this:
pico-vscode/src/commands/getPaths.mts
Line 213 in 97c49e8
| "cmake.buildDirectory" |
Sure enough you can already override the build directory from your
settings.json by adding something like:
"cmake.buildDirectory": "${workspaceFolder}/build/pico2w/debug",Now if only we could define this variable from the board and variant.
The build folder is also hardcode in the Ninja task in tasks.json so you will have to replace it with something like:
"args": ["-C", "${workspaceFolder}/build/pico2w/debug"],Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request