Files
2026-07-10 19:13:15 +09:00

57 lines
1.7 KiB
JSON

{
"version": "2.0.0",
"tasks": [
{
"label": "Single File PS Compile & Run with 'start'",
"type": "shell",
"command": "${workspaceFolder}/start",
"args": [
"${fileBasenameNoExtension}"
],
"options": { "cwd": "${fileDirname}" },
"group": { "kind": "build", "isDefault": true },
"presentation": {
"echo": true,
"reveal": "always",
"focus": true,
"panel": "shared",
"showReuseMessage": true,
"clear": false
}
},
{
"label": "Expand Main Code",
"type": "shell",
"command": "${workspaceFolder}/expand",
"args": ["-d", "${workspaceFolder}", "${fileBasenameNoExtension}", ">temp"],
"options": { "cwd": "${fileDirname}" },
"group": { "kind": "test", "isDefault": true },
"presentation": {
"echo": true,
"reveal": "always",
"focus": true,
"panel": "shared",
"showReuseMessage": true,
"clear": false
}
},
{
"label": "Single File PS Compile & Run",
"type": "shell",
"command": "/usr/bin/g++",
"args": [
"${fileBasename}",
"-o${fileBasenameNoExtension}",
"-O2", "-lm", "-Wall", "-static", "-std=c++2a",
"-DDEBUG", "-Wno-unused-result"
],
"options": {
},
"group": {
"kind": "build",
"isDefault": false
}
}
]
}