ps contest setting

This commit is contained in:
2026-07-10 19:13:15 +09:00
commit 2e53b25851
9 changed files with 440 additions and 0 deletions
+56
View File
@@ -0,0 +1,56 @@
{
"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
}
}
]
}