Remove include, lib

Update launch.json to include Linux specific debug config
Update CMakeList to compile on Linux
This commit is contained in:
Patrick Schwarzer 2025-04-20 05:32:22 +02:00
parent 6fc18195fc
commit 10064f31c2
7 changed files with 66 additions and 37 deletions

70
.vscode/launch.json vendored
View file

@ -1,26 +1,46 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug Engine",
"type": "cppvsdbg",
"request": "launch",
"program": "${workspaceFolder}/build/engine/Debug/engine.exe", // Path to your executable
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"preLaunchTask": "build engine", // This will run the "build engine" task before launching
"miDebuggerPath": "C:/mingw-w64/bin/gdb.exe", // Specify the correct path to your debugger
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}
"version": "0.2.0",
"configurations": [
{
"name": "Debug Engine (Windows)",
"type": "cppvsdbg",
"request": "launch",
"program": "${workspaceFolder}/build/engine/Debug/engine.exe",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"preLaunchTask": "build engine",
"miDebuggerPath": "C:/mingw-w64/bin/gdb.exe",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
},
{
"name": "Debug Engine (Linux)",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/build/engine/engine",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": true,
"MIMode": "gdb",
"miDebuggerPath": "/usr/bin/gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"preLaunchTask": "build engine"
}
]
}