small launch script fixes for smoth sdl and glfw selection

This commit is contained in:
2026-03-26 18:57:54 +01:00
parent 6edcaa9c11
commit 4b2b1548bf
3 changed files with 104 additions and 15 deletions

87
.vscode/tasks.json vendored
View File

@@ -20,7 +20,7 @@
"problemMatcher": []
},
{
"label": "build_debug_linux_cmake",
"label": "build_debug_SDL3_linux_cmake",
"type": "shell",
"command": "cmake",
"args": [
@@ -28,7 +28,6 @@
"${workspaceFolder}/.",
"-B",
"${workspaceFolder}/./build",
"-DDEBUG=ON",
"-G Ninja",
"-DCMAKE_C_COMPILER=clang",
"-DCMAKE_CXX_COMPILER=clang++",
@@ -41,9 +40,30 @@
"isDefault": true
},
"problemMatcher": []
},
{
"label": "build_release_linux_cmake",
},{
"label": "build_debug_GLFW_linux_cmake",
"type": "shell",
"command": "cmake",
"args": [
"-S",
"${workspaceFolder}/.",
"-B",
"${workspaceFolder}/./build",
"-G Ninja",
"-DCMAKE_C_COMPILER=clang",
"-DCMAKE_CXX_COMPILER=clang++",
"-DCMAKE_LINKER=lld-link",
"-DCMAKE_BUILD_TYPE=Debug",
"-DUSE_GLFW=ON"
],
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": []
},
{
"label": "build_release_SDL3_linux_cmake",
"type": "shell",
"command": "cmake",
"args": [
@@ -51,7 +71,6 @@
"${workspaceFolder}/.",
"-B",
"${workspaceFolder}/./build",
"-DDEBUG=OFF",
"-G Ninja",
"-DCMAKE_C_COMPILER=clang",
"-DCMAKE_CXX_COMPILER=clang++",
@@ -66,9 +85,31 @@
"problemMatcher": []
},
{
"label": "build_debug_linux",
"label": "build_release_GLFW_linux_cmake",
"type": "shell",
"command": "cmake",
"args": [
"-S",
"${workspaceFolder}/.",
"-B",
"${workspaceFolder}/./build",
"-G Ninja",
"-DCMAKE_C_COMPILER=clang",
"-DCMAKE_CXX_COMPILER=clang++",
"-DCMAKE_LINKER=lld-link",
"-DCMAKE_BUILD_TYPE=Release",
"-DUSE_GLFW=ON"
],
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": []
},
{
"label": "build_debug_SDL3_linux",
"dependsOn": [
"build_debug_linux_cmake",
"build_release_SDL3_linux_cmake",
"make_linux"
],
"dependsOrder": "sequence",
@@ -79,9 +120,35 @@
}
},
{
"label": "build_release_linux",
"label": "build_release_SDL3_linux",
"dependsOn": [
"build_release_linux_cmake",
"build_release_SDL3_linux_cmake",
"make_linux"
],
"dependsOrder": "sequence",
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "build_debug_GLFW_linux",
"dependsOn": [
"build_release_GLFW_linux_cmake",
"make_linux"
],
"dependsOrder": "sequence",
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "build_release_GLFW_linux",
"dependsOn": [
"build_release_GLFW_linux_cmake",
"make_linux"
],
"dependsOrder": "sequence",