Update launch.json & tasks.json

This commit is contained in:
augustin64 2022-09-30 14:22:33 +02:00
parent 3fc43ef988
commit 53dd80e653
2 changed files with 24 additions and 31 deletions

37
.vscode/launch.json vendored
View File

@ -5,7 +5,7 @@
"name": "mnist/main",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/out/main",
"program": "${workspaceFolder}/out/mnist_main",
"args": [
"train",
"--images",
@ -28,16 +28,16 @@
"ignoreFailures": false
}
],
"preLaunchTask": "build"
"preLaunchTask": "build-mnist"
},
{
"name": "mnist/preview",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/out/preview",
"program": "${workspaceFolder}/out/mnist_preview",
"args": [
"images",
"labels"
"data/mnist/t10k-images-idx3-ubyte",
"data/mnist/t10k-labels-idx1-ubyte"
],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
@ -52,7 +52,7 @@
"ignoreFailures": false
}
],
"preLaunchTask": "build"
"preLaunchTask": "build-mnist"
},
{
"name": "cnn/main",
@ -73,30 +73,7 @@
"ignoreFailures": false
}
],
"preLaunchTask": "build"
},
{
"name": "C/C++ Runner: Debug Session",
"type": "cppdbg",
"request": "launch",
"args": [
""
],
"stopAtEntry": false,
"cwd": "/home/augustin64/Documents/tipe/projet-tipe",
"environment": [],
"program": "/home/augustin64/Documents/tipe/projet-tipe/build/Debug/outDebug",
"internalConsoleOptions": "openOnSessionStart",
"MIMode": "gdb",
"miDebuggerPath": "/usr/bin/gdb",
"externalConsole": false,
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
"preLaunchTask": "build-cnn"
}
]
}

18
.vscode/tasks.json vendored
View File

@ -29,13 +29,29 @@
"detail": "Tâche générée par le débogueur."
},
{
"label": "build",
"label": "build-all",
"command": "${workspaceFolder}/make.sh",
"args": [
"build",
"all"
]
},
{
"label": "build-mnist",
"command": "${workspaceFolder}/make.sh",
"args": [
"build",
"mnist"
]
},
{
"label": "build-cnn",
"command": "${workspaceFolder}/make.sh",
"args": [
"build",
"cnn"
]
},
],
"version": "2.0.0"
}