cmake: add msvc preset

This commit is contained in:
oltolm 2025-06-22 12:48:23 +02:00
commit 15e5a555df

View file

@ -1,6 +1,42 @@
{ {
"version": 2, "version": 2,
"configurePresets": [ "configurePresets": [
{
"name": "Release",
"generator": "Ninja",
"binaryDir": "Build\\${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "Debug",
"generator": "Ninja",
"binaryDir": "Build\\${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "Release (arm64)",
"generator": "Ninja",
"binaryDir": "Build\\${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_SYSTEM_NAME": "Windows",
"CMAKE_SYSTEM_PROCESSOR": "aarch64"
}
},
{
"name": "Debug (arm64)",
"generator": "Ninja",
"binaryDir": "Build\\${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_SYSTEM_NAME": "Windows",
"CMAKE_SYSTEM_PROCESSOR": "aarch64"
}
},
{ {
"name": "gcc-debug", "name": "gcc-debug",
"binaryDir": "build-gcc-debug", "binaryDir": "build-gcc-debug",