This commit is contained in:
ZennDev1337 2024-01-22 12:22:28 +01:00
parent cda6ed407a
commit ee652cb6ee
2 changed files with 8 additions and 6 deletions

View file

@ -4,7 +4,7 @@
"name": "Debug: C/C++",
"type": "cppdbg",
"request": "launch",
"program": "${fileDirname}\\build\\${fileBasenameNoExtension}.exe",
"program": "${workspaceFolder}\\build\\${fileBasenameNoExtension}.exe",
"args": [],
"stopAtEntry": false,
"cwd": "${fileDirname}",
@ -30,7 +30,7 @@
"name": "Release: C/C++",
"type": "cppdbg",
"request": "launch",
"program": "${fileDirname}\\build\\${fileBasenameNoExtension}.exe",
"program": "${workspaceFolder}\\build\\${fileBasenameNoExtension}.exe",
"args": [],
"stopAtEntry": false,
"cwd": "${fileDirname}",

View file

@ -6,12 +6,13 @@
"command": "C:\\msys64\\mingw64\\bin\\g++.exe",
"args": [
"-fdiagnostics-color=always",
"-I${workspaceFolder}\\include",
"-ggdb",
"-std=c++20",
"-pedantic-errors",
"${fileDirname}/**.cpp",
"${workspaceFolder}/src/**.cpp",
"-o",
"${fileDirname}\\build\\${fileBasenameNoExtension}.exe"
"${workspaceFolder}\\build\\${fileBasenameNoExtension}.exe"
],
"options": {
"cwd": "${fileDirname}"
@ -26,13 +27,14 @@
"command": "C:\\msys64\\mingw64\\bin\\g++.exe",
"args": [
"-fdiagnostics-color=always",
"-I${workspaceFolder}\\include",
"-O2",
"-DNDEBUG",
"-std=c++20",
"-pedantic-errors",
"${fileDirname}/**.cpp",
"${workspaceFolder}/src/**.cpp",
"-o",
"${fileDirname}\\build\\${fileBasenameNoExtension}.exe"
"${workspaceFolder}\\build\\${fileBasenameNoExtension}.exe"
],
"options": {
"cwd": "${fileDirname}"