Restore standalone Windows and Linux build and debug support

This commit is contained in:
maxwes08 committed 2026-10-23 12:58:35 +02:00
1 parent 85d4fb828a
commit 4c435fdd76
8 files changed
+205 -55

No files matched your search

+21 -9
View File
@@ -3,33 +3,45 @@
"configurations": [
{
"name": "FluidSim desktop",
"type": "node-terminal",
"type": "cppdbg",
"request": "launch",
"command": "./build-desktop/fluidsim_desktop",
"program": "${workspaceFolder}/build-desktop/fluidsim_desktop",
"args": [],
"MIMode": "gdb",
"miDebuggerPath": "gdb",
"windows": {
"command": ".\\build\\windows\\Release\\fluidsim_desktop.exe"
"program": "${workspaceFolder}/out/build/windows-gcc/fluidsim_desktop.exe",
"miDebuggerPath": "${env:LOCALAPPDATA}/FluidSimTools/mingw64/bin/gdb.exe"
},
"cwd": "${workspaceFolder}",
"preLaunchTask": "FluidSim: build desktop"
},
{
"name": "FluidSim two-stroke",
"type": "node-terminal",
"type": "cppdbg",
"request": "launch",
"command": "./build-desktop/fluidsim_desktop --scenario two-stroke",
"program": "${workspaceFolder}/build-desktop/fluidsim_desktop",
"args": ["--scenario", "two-stroke"],
"MIMode": "gdb",
"miDebuggerPath": "gdb",
"windows": {
"command": ".\\build\\windows\\Release\\fluidsim_desktop.exe --scenario two-stroke"
"program": "${workspaceFolder}/out/build/windows-gcc/fluidsim_desktop.exe",
"miDebuggerPath": "${env:LOCALAPPDATA}/FluidSimTools/mingw64/bin/gdb.exe"
},
"cwd": "${workspaceFolder}",
"preLaunchTask": "FluidSim: build desktop"
},
{
"name": "FluidSim Saab B205",
"type": "node-terminal",
"type": "cppdbg",
"request": "launch",
"command": "./build-desktop/fluidsim_desktop --scenario b205",
"program": "${workspaceFolder}/build-desktop/fluidsim_desktop",
"args": ["--scenario", "b205"],
"MIMode": "gdb",
"miDebuggerPath": "gdb",
"windows": {
"command": ".\\build\\windows\\Release\\fluidsim_desktop.exe --scenario b205"
"program": "${workspaceFolder}/out/build/windows-gcc/fluidsim_desktop.exe",
"miDebuggerPath": "${env:LOCALAPPDATA}/FluidSimTools/mingw64/bin/gdb.exe"
},
"cwd": "${workspaceFolder}",
"preLaunchTask": "FluidSim: build desktop"
+2 -1
View File
@@ -1,6 +1,7 @@
{
"C_Cpp.debugShortcut": false,
"C_Cpp.debugShortcut": true,
"C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools",
"cmake.useCMakePresets": "always",
"cmake.configureOnOpen": true,
"cmake.buildBeforeRun": true
}
+1 -4
View File
@@ -50,10 +50,7 @@
"kind": "build",
"isDefault": true
},
"problemMatcher": [
"$gcc",
"$msCompile"
]
"problemMatcher": "$gcc"
}
]
}