Integrate all the progress into master #6
|
@ -8,6 +8,21 @@
|
|||
"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",
|
||||
|
|
|
@ -10,7 +10,7 @@ set wsl=
|
|||
IF %4 == linux (
|
||||
set bin_ext=
|
||||
set target=x86_64-unknown-linux-gnu
|
||||
set wsl=wsl $HOME/.cargo/bin/
|
||||
set wsl=wsl --shell-type login
|
||||
)
|
||||
|
||||
IF defined CARGO_RUN_ARGS set run_args=-- %CARGO_RUN_ARGS%
|
||||
|
|
Loading…
Reference in New Issue