update
This commit is contained in:
parent
9990251583
commit
f2153ac356
7 changed files with 129 additions and 6 deletions
20
dot vscode/c_cpp_properties.json
Normal file
20
dot vscode/c_cpp_properties.json
Normal file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Win32",
|
||||
"includePath": [
|
||||
"${workspaceFolder}/**"
|
||||
],
|
||||
"defines": [
|
||||
"_DEBUG",
|
||||
"UNICODE",
|
||||
"_UNICODE"
|
||||
],
|
||||
"compilerPath": "C:\\msys64\\mingw64\\bin\\gcc.exe",
|
||||
"cStandard": "c17",
|
||||
"cppStandard": "gnu++20",
|
||||
"intelliSenseMode": "windows-gcc-x64"
|
||||
}
|
||||
],
|
||||
"version": 4
|
||||
}
|
57
dot vscode/launch.json
Normal file
57
dot vscode/launch.json
Normal file
|
@ -0,0 +1,57 @@
|
|||
{
|
||||
"configurations": [
|
||||
{
|
||||
"name": "C/C++: Debug",
|
||||
"type": "cppdbg",
|
||||
"request": "launch",
|
||||
"program": "${fileDirname}\\build\\${fileBasenameNoExtension}.exe",
|
||||
"args": [],
|
||||
"stopAtEntry": false,
|
||||
"cwd": "${fileDirname}",
|
||||
"environment": [],
|
||||
"externalConsole": false,
|
||||
"MIMode": "gdb",
|
||||
"miDebuggerPath": "C:\\msys64\\mingw64\\bin\\gdb.exe",
|
||||
"setupCommands": [
|
||||
{
|
||||
"description": "Automatische Strukturierung und Einrückung für \"gdb\" aktivieren",
|
||||
"text": "-enable-pretty-printing",
|
||||
"ignoreFailures": true
|
||||
},
|
||||
{
|
||||
"description": "Disassemblierungsvariante auf Intel festlegen",
|
||||
"text": "-gdb-set disassembly-flavor intel",
|
||||
"ignoreFailures": true
|
||||
}
|
||||
],
|
||||
"preLaunchTask": "Debug"
|
||||
},
|
||||
{
|
||||
"name": "C/C++: Release",
|
||||
"type": "cppdbg",
|
||||
"request": "launch",
|
||||
"program": "${fileDirname}\\build\\${fileBasenameNoExtension}.exe",
|
||||
"args": [],
|
||||
"stopAtEntry": false,
|
||||
"cwd": "${fileDirname}",
|
||||
"environment": [],
|
||||
"externalConsole": false,
|
||||
"MIMode": "gdb",
|
||||
"miDebuggerPath": "C:\\msys64\\mingw64\\bin\\gdb.exe",
|
||||
"setupCommands": [
|
||||
{
|
||||
"description": "Automatische Strukturierung und Einrückung für \"gdb\" aktivieren",
|
||||
"text": "-enable-pretty-printing",
|
||||
"ignoreFailures": true
|
||||
},
|
||||
{
|
||||
"description": "Disassemblierungsvariante auf Intel festlegen",
|
||||
"text": "-gdb-set disassembly-flavor intel",
|
||||
"ignoreFailures": true
|
||||
}
|
||||
],
|
||||
"preLaunchTask": "Release"
|
||||
}
|
||||
],
|
||||
"version": "2.0.0"
|
||||
}
|
46
dot vscode/tasks.json
Normal file
46
dot vscode/tasks.json
Normal file
|
@ -0,0 +1,46 @@
|
|||
{
|
||||
"tasks": [
|
||||
{
|
||||
"type": "cppbuild",
|
||||
"label": "Debug",
|
||||
"command": "C:\\msys64\\mingw64\\bin\\g++.exe",
|
||||
"args": [
|
||||
"-fdiagnostics-color=always",
|
||||
"-ggdb",
|
||||
"-std=c++20",
|
||||
"-pedantic-errors",
|
||||
"${file}",
|
||||
"-o",
|
||||
"${fileDirname}\\build\\${fileBasenameNoExtension}.exe"
|
||||
],
|
||||
"options": {
|
||||
"cwd": "${fileDirname}"
|
||||
},
|
||||
"problemMatcher": ["$gcc"],
|
||||
"group": "build",
|
||||
"detail": "Vom Debugger generierte Aufgabe."
|
||||
},
|
||||
{
|
||||
"type": "cppbuild",
|
||||
"label": "Release",
|
||||
"command": "C:\\msys64\\mingw64\\bin\\g++.exe",
|
||||
"args": [
|
||||
"-fdiagnostics-color=always",
|
||||
"-O2",
|
||||
"-DNDEBUG",
|
||||
"-std=c++20",
|
||||
"-pedantic-errors",
|
||||
"${file}",
|
||||
"-o",
|
||||
"${fileDirname}\\build\\${fileBasenameNoExtension}.exe"
|
||||
],
|
||||
"options": {
|
||||
"cwd": "${fileDirname}"
|
||||
},
|
||||
"problemMatcher": ["$gcc"],
|
||||
"group": "build",
|
||||
"detail": "Vom Debugger generierte Aufgabe."
|
||||
}
|
||||
],
|
||||
"version": "2.0.0"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue