Restore standalone Windows and Linux build and debug support

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

30
.vscode/launch.json vendored
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"