Commit 835651386c4c4277bd35bb10326662b955b648d9
1 parent
8c180bab
提交vscode配置
Showing
4 changed files
with
77 additions
and
0 deletions
.vscode/c_cpp_properties.json
0 → 100644
1 | +{ | ||
2 | + "configurations": [ | ||
3 | + { | ||
4 | + "name": "Linux", | ||
5 | + "includePath": [ | ||
6 | + "${workspaceFolder}/**", | ||
7 | + "${workspaceFolder}/src/DxDecoder/**", | ||
8 | + "${workspaceFolder}/src/DxDecoder/", | ||
9 | + "/usr/local/cuda-11.1/targets/x86_64-linux/include/**", | ||
10 | + "${workspaceFolder}/3rdparty/**" | ||
11 | + ], | ||
12 | + "defines": [], | ||
13 | + "compilerPath": "/usr/bin/gcc", | ||
14 | + "cStandard": "c11", | ||
15 | + "cppStandard": "c++11", | ||
16 | + "intelliSenseMode": "linux-gcc-x64", | ||
17 | + "configurationProvider": "ms-vscode.makefile-tools" | ||
18 | + } | ||
19 | + ], | ||
20 | + "version": 4 | ||
21 | +} | ||
0 | \ No newline at end of file | 22 | \ No newline at end of file |
.vscode/launch.json
0 → 100644
1 | +{ | ||
2 | + "version": "0.2.0", | ||
3 | + "configurations": [ | ||
4 | + { | ||
5 | + "name": "(gdb) Launch", | ||
6 | + "type": "cppdbg", | ||
7 | + "request": "launch", | ||
8 | + "program": "${workspaceFolder}/bin/lib/test", | ||
9 | + "args": [], | ||
10 | + "stopAtEntry": false, | ||
11 | + "cwd": "${workspaceFolder}/bin/lib", | ||
12 | + "environment": [], | ||
13 | + "externalConsole": false, | ||
14 | + "MIMode": "gdb", | ||
15 | + "setupCommands": [ | ||
16 | + { | ||
17 | + "description": "Enable pretty-printing for gdb", | ||
18 | + "text": "-enable-pretty-printing", | ||
19 | + "ignoreFailures": true | ||
20 | + } | ||
21 | + ] | ||
22 | + } | ||
23 | + ] | ||
24 | + } | ||
0 | \ No newline at end of file | 25 | \ No newline at end of file |
.vscode/settings.json
0 → 100644
.vscode/task.json
0 → 100644
1 | +{ | ||
2 | + "tasks": [ | ||
3 | + { | ||
4 | + "type": "cppbuild", | ||
5 | + "label": "C/C++: g++ 生成活动文件", | ||
6 | + "command": "/usr/bin/g++", | ||
7 | + "args": [ | ||
8 | + "-fdiagnostics-color=always", | ||
9 | + "-g", | ||
10 | + "${file}", | ||
11 | + "-o", | ||
12 | + "${fileDirname}/${fileBasenameNoExtension}" | ||
13 | + ], | ||
14 | + "options": { | ||
15 | + "cwd": "${fileDirname}" | ||
16 | + }, | ||
17 | + "problemMatcher": [ | ||
18 | + "$gcc" | ||
19 | + ], | ||
20 | + "group": { | ||
21 | + "kind": "build", | ||
22 | + "isDefault": true | ||
23 | + }, | ||
24 | + "detail": "调试器生成的任务。" | ||
25 | + } | ||
26 | + ], | ||
27 | + "version": "2.0.0" | ||
28 | +} | ||
0 | \ No newline at end of file | 29 | \ No newline at end of file |