Add cmake presets

- MSVC requires cmake for Windows
- mingw only builds when GLSLANG is excluded due to wrong header generation
This commit is contained in:
2026-09-06 16:13:13 +02:00
parent 60fcb4f80d
commit 1ea5ad5e0f
5 changed files with 145 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
{
"version": 10,
"configurePresets": [
{
"name": "msvc",
"cmakeExecutable": "C:\\Program Files\\CMake\\bin\\cmake.exe",
"displayName": "MSVC",
"generator": "Visual Studio 17 2022",
"binaryDir": "${sourceDir}/build/msvc-build"
}
],
"buildPresets": [
{
"name": "msvc-release",
"configuration": "Release",
"configurePreset": "msvc"
},
{
"name": "msvc-debug",
"configuration": "Debug",
"configurePreset": "msvc"
}
]
}