Add turbocharged twin scenario and cross-platform test harness

This commit is contained in:
2026-10-23 02:27:03 +02:00
parent a859740a95
commit 589d22aa5e
63 changed files with 4903 additions and 771 deletions

6
.vscode/extensions.json vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"recommendations": [
"ms-vscode.cpptools",
"ms-vscode.cmake-tools"
]
}

38
.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,38 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "FluidSim desktop",
"type": "node-terminal",
"request": "launch",
"command": "./build-desktop/fluidsim_desktop",
"windows": {
"command": ".\\build\\windows\\Release\\fluidsim_desktop.exe"
},
"cwd": "${workspaceFolder}",
"preLaunchTask": "FluidSim: build desktop"
},
{
"name": "FluidSim two-stroke",
"type": "node-terminal",
"request": "launch",
"command": "./build-desktop/fluidsim_desktop --scenario two-stroke",
"windows": {
"command": ".\\build\\windows\\Release\\fluidsim_desktop.exe --scenario two-stroke"
},
"cwd": "${workspaceFolder}",
"preLaunchTask": "FluidSim: build desktop"
},
{
"name": "FluidSim Saab B205",
"type": "node-terminal",
"request": "launch",
"command": "./build-desktop/fluidsim_desktop --scenario b205",
"windows": {
"command": ".\\build\\windows\\Release\\fluidsim_desktop.exe --scenario b205"
},
"cwd": "${workspaceFolder}",
"preLaunchTask": "FluidSim: build desktop"
}
]
}

6
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"C_Cpp.debugShortcut": false,
"C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools",
"cmake.useCMakePresets": "always",
"cmake.buildBeforeRun": true
}

59
.vscode/tasks.json vendored Normal file
View File

@@ -0,0 +1,59 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "FluidSim: configure desktop",
"type": "process",
"command": "cmake",
"args": [
"--preset",
"linux"
],
"windows": {
"command": "cmake",
"args": [
"--preset",
"windows"
]
},
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": []
},
{
"label": "FluidSim: build desktop",
"type": "process",
"command": "cmake",
"args": [
"--build",
"--preset",
"linux",
"--target",
"fluidsim_desktop"
],
"windows": {
"command": "cmake",
"args": [
"--build",
"--preset",
"windows",
"--target",
"fluidsim_desktop"
]
},
"options": {
"cwd": "${workspaceFolder}"
},
"dependsOn": "FluidSim: configure desktop",
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": [
"$gcc",
"$msCompile"
]
}
]
}