Restore standalone Windows and Linux build and debug support
This commit is contained in:
1 parent
85d4fb828a
commit
4c435fdd76
8 files changed
+205
-55
No files matched your search
Vendored
+21
-9
@@ -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"
|
||||
|
||||
Vendored
+2
-1
@@ -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
|
||||
}
|
||||
Vendored
+1
-4
@@ -50,10 +50,7 @@
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
},
|
||||
"problemMatcher": [
|
||||
"$gcc",
|
||||
"$msCompile"
|
||||
]
|
||||
"problemMatcher": "$gcc"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user