51 lines
961 B
Plaintext
51 lines
961 B
Plaintext
{
|
|
"folders": [
|
|
{
|
|
"path": "."
|
|
}
|
|
],
|
|
"settings": {},
|
|
"tasks": {
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "all",
|
|
"type": "shell",
|
|
"command": "./build_all.bat ${input:cargo cmd}",
|
|
"group": {
|
|
"kind": "build"
|
|
}
|
|
},
|
|
{
|
|
"label": "cargo",
|
|
"type": "shell",
|
|
"command": "./run_cargo ${input:project} ${input:cargo cmd} ${input:build cfg}",
|
|
"group": {
|
|
"kind": "build",
|
|
}
|
|
}
|
|
],
|
|
"inputs": [
|
|
{
|
|
"id": "build cfg",
|
|
"type": "pickString",
|
|
"options": ["debug", "release"],
|
|
"default": "release",
|
|
"description": "build configuration"
|
|
},
|
|
{
|
|
"id": "project",
|
|
"type": "pickString",
|
|
"options": ["cdtypes", "cpp_out", "psxcdgen", "psxcdread"],
|
|
"description": "project to build"
|
|
},
|
|
{
|
|
"id": "cargo cmd",
|
|
"type":"pickString",
|
|
"options": ["build", "run", "check", "clean"],
|
|
"default": "build",
|
|
"description": "cargo command to run"
|
|
}
|
|
]
|
|
}
|
|
} |