Skip to content

Commit 1041501

Browse files
committed
更新 .gitignore 文件以忽略 VSCode 配置文件,新增 launch.json 文件以支持 YOLOClassifier 在vscode的调试和发布配置
1 parent a3938bc commit 1041501

2 files changed

Lines changed: 39 additions & 0 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
.cache/
22
build/
33
runs/
4+
.vscode/settings.json
5+
.vscode/tasks.json
46
*.pt
57
*.cache
68
*.torchscript

.vscode/launch.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "YOLOClassifier (Release)",
6+
"type": "cppvsdbg",
7+
"request": "launch",
8+
"program": "${workspaceFolder}/build/Release/bin/YOLOClassifier.exe",
9+
"cwd": "${workspaceFolder}/build/Release/bin",
10+
"args": [],
11+
"stopAtEntry": false,
12+
"console": "integratedTerminal",
13+
"environment": [
14+
{
15+
"name": "PATH",
16+
"value": "${workspaceFolder}\\build\\Release\\bin;${workspaceFolder}\\build\\bin;${env:PATH}"
17+
}
18+
]
19+
},
20+
{
21+
"name": "YOLOClassifier (Debug)",
22+
"type": "cppvsdbg",
23+
"request": "launch",
24+
"program": "${workspaceFolder}/build/Debug/bin/YOLOClassifier.exe",
25+
"cwd": "${workspaceFolder}/build/Debug/bin",
26+
"args": [],
27+
"stopAtEntry": false,
28+
"console": "integratedTerminal",
29+
"environment": [
30+
{
31+
"name": "PATH",
32+
"value": "${workspaceFolder}\\build\\Debug\\bin;${workspaceFolder}\\build\\bin;${env:PATH}"
33+
}
34+
]
35+
}
36+
]
37+
}

0 commit comments

Comments
 (0)