ps contest setting
This commit is contained in:
Vendored
+56
@@ -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
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user