added cmake presets

This commit is contained in:
2025-12-19 09:55:29 +03:00
parent 2d653834a5
commit ece7c84371
4 changed files with 344 additions and 15 deletions

29
.vscode/launch.json vendored
View File

@@ -1,7 +1,4 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
@@ -9,11 +6,7 @@
"type": "cppdbg",
"request": "launch",
"program": "${command:cmake.launchTargetPath}",
"args": [
"--apply",
"--theme",
"dark"
],
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
@@ -32,21 +25,29 @@
}
]
},
{
{
"name": "Debug current target (LLDB)",
"type": "cppdbg",
"request": "launch",
"program": "${command:cmake.launchTargetPath}",
"args": [
"--apply",
"--theme",
"dark"
],
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "lldb",
"miDebuggerPath": "lldb"
},
{
"name": "Debug current target (MSVC)",
"type": "cppvsdbg",
"request": "launch",
"program": "${command:cmake.launchTargetPath}",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"console": "integratedTerminal"
}
]
}

3
.vscode/settnigs.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"cmake.useCMakePresets": "always"
}