Optimize launch.json
This commit is contained in:
parent
7c17c93b70
commit
95c5731a33
12
.vscode/launch.json
vendored
12
.vscode/launch.json
vendored
|
|
@ -22,6 +22,11 @@
|
||||||
"description": "Enable pretty-printing for gdb",
|
"description": "Enable pretty-printing for gdb",
|
||||||
"text": "-enable-pretty-printing",
|
"text": "-enable-pretty-printing",
|
||||||
"ignoreFailures": true
|
"ignoreFailures": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "Do not stop on SIGPIPE",
|
||||||
|
"text": "handle SIGPIPE nostop noprint pass",
|
||||||
|
"ignoreFailures": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"preLaunchTask": "build",
|
"preLaunchTask": "build",
|
||||||
|
|
@ -50,6 +55,11 @@
|
||||||
"description": "Enable pretty-printing for gdb",
|
"description": "Enable pretty-printing for gdb",
|
||||||
"text": "-enable-pretty-printing",
|
"text": "-enable-pretty-printing",
|
||||||
"ignoreFailures": true
|
"ignoreFailures": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "Do not stop on SIGPIPE",
|
||||||
|
"text": "handle SIGPIPE nostop noprint pass",
|
||||||
|
"ignoreFailures": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"preLaunchTask": "build",
|
"preLaunchTask": "build",
|
||||||
|
|
@ -112,4 +122,4 @@
|
||||||
"sourceLanguages": ["cpp"]
|
"sourceLanguages": ["cpp"]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
6
.vscode/tasks.json
vendored
6
.vscode/tasks.json
vendored
|
|
@ -4,7 +4,7 @@
|
||||||
{
|
{
|
||||||
"label": "build",
|
"label": "build",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "cd ${workspaceFolder}/cmake/build && cmake --build . --target srs utest",
|
"command": "if [ ! -f \"${workspaceFolder}/cmake/build/CMakeCache.txt\" ]; then cmake -S \"${workspaceFolder}/cmake\" -B \"${workspaceFolder}/cmake/build\"; fi && cmake --build \"${workspaceFolder}/cmake/build\" --target srs utest",
|
||||||
"group": {
|
"group": {
|
||||||
"kind": "build",
|
"kind": "build",
|
||||||
"isDefault": true
|
"isDefault": true
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
{
|
{
|
||||||
"label": "st-build",
|
"label": "st-build",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "cd ${workspaceFolder}/cmake/build && cmake --build . --target st_utest",
|
"command": "if [ ! -f \"${workspaceFolder}/cmake/build/CMakeCache.txt\" ]; then cmake -S \"${workspaceFolder}/cmake\" -B \"${workspaceFolder}/cmake/build\"; fi && cmake --build \"${workspaceFolder}/cmake/build\" --target st_utest",
|
||||||
"group": {
|
"group": {
|
||||||
"kind": "build",
|
"kind": "build",
|
||||||
"isDefault": true
|
"isDefault": true
|
||||||
|
|
@ -25,4 +25,4 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user