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-03-28 13:53:55 +01:00
parent 72deaad28d
commit 7b6e611f12
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"
}
]
}