Add initial CMake presets file.

This commit is contained in:
Marcel Pi 2024-06-27 16:18:22 +02:00
parent e69289736f
commit eb1364bc8d
1 changed files with 35 additions and 0 deletions

35
CMakePresets.json Normal file
View File

@ -0,0 +1,35 @@
{
"version": 4,
"configurePresets": [
{
"name": "common",
"generator": "Ninja",
"hidden": true
},
{
"name": "Debug",
"inherits": "common",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "Development",
"inherits": "common",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
},
{
"name": "Release",
"inherits": "common",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "Default",
"inherits": "Release"
}
]
}