Introduce Linux counter parts

This commit is contained in:
Björn Gaier
2023-10-06 17:02:30 +02:00
parent 666baf9291
commit 082baa0657
5 changed files with 74 additions and 55 deletions

View File

@@ -4,31 +4,24 @@
"path": "."
}
],
"settings": {},
"settings": {
},
"tasks": {
"version": "2.0.0",
"tasks": [
{
"label": "cpp_out",
"type": "shell",
"windows": {
"command": "wsl --shell-type login cargo ${input:cargo cmd} --target=x86_64-unknown-linux-gnu --${input:build cfg}"
},
"linux": {
"command": "$HOME/.cargo/bin/cargo ${input:cargo cmd} --${input:build cfg}"
},
"group": "build",
"options": {
"cwd": "${workspaceFolder}/cpp_out"
}
},
//////////////////////////////////////////////////
{
"label": "all",
"type": "shell",
"command": "./build_all.bat ${input:cargo cmd}",
"group": {
"kind": "build"
},
"options": {
"env": {
"win_tools": "psxcdgen psxcdgen_ex psxcdread psxreadmap wslpath",
"linux_tools": "cpp_out psxcdgen_ex jaby_engine_fconv mkoverlay wslpath",
"clean_tools": "cdtypes tool_helper"
}
}
},
{