Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
{
"description": "Do not stop on SIGPIPE",
"text": "handle SIGPIPE nostop noprint pass",
"ignoreFailures": true
}
],
"preLaunchTask": "build",
Expand Down Expand Up @@ -50,6 +55,11 @@
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
{
"description": "Do not stop on SIGPIPE",
"text": "handle SIGPIPE nostop noprint pass",
"ignoreFailures": true
}
],
"preLaunchTask": "build",
Expand Down Expand Up @@ -112,4 +122,4 @@
"sourceLanguages": ["cpp"]
}
]
}
}
9 changes: 5 additions & 4 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{
"label": "build",
"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": {
"kind": "build",
"isDefault": true
Expand All @@ -15,7 +15,7 @@
{
"label": "st-build",
"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": {
"kind": "build",
"isDefault": true
Expand All @@ -24,5 +24,6 @@
"detail": "Build ST by cmake."
}
]
}

}


Loading