Skip to content

Commit

Permalink
swiftduck vscode config
Browse files Browse the repository at this point in the history
  • Loading branch information
shijiashuai committed Sep 6, 2022
1 parent ad1068d commit c7ec938
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
35 changes: 35 additions & 0 deletions swiftduck/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "SwiftDuck_Debug",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/build/SwiftDuck_debug",
"args": [
"-i", "/data/lush-dev/liuweicong/data/fq/V100007471_L01_501_1.fq",
"-o", "/home/shijiashuai/shijiashuai/07_vscode/swiftduck/build/out.sdz",
"-c"
],
// "args": [
// "-i", "/home/shijiashuai/shijiashuai/07_vscode/swiftduck/build/out.sdz",
// "-o", "/home/shijiashuai/shijiashuai/07_vscode/swiftduck/build/in.fq",
// "-d"
// ],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "为 gdb 启用整齐打印",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"preLaunchTask": "Build",
"miDebuggerPath": "/usr/bin/gdb"
}
]
}
17 changes: 17 additions & 0 deletions swiftduck/.vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"tasks": [
{
"label": "Build",
"type": "shell",
"command": "cd ./build; make CFLAG=-g -j120",
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": [
"$gcc"
]
}
],
"version": "2.0.0"
}

0 comments on commit c7ec938

Please sign in to comment.