add CMakePresets.json

This commit is contained in:
Fire Cube 2025-06-18 12:39:50 +02:00 committed by GitHub
parent 5bc4cc761a
commit 742b3ced66
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

47
CMakePresets.json Normal file
View file

@ -0,0 +1,47 @@
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 24,
"patch": 0
},
"configurePresets": [
{
"name": "x64-Clang-Debug",
"displayName": "Clang x64 Debug",
"generator": "Ninja",
"binaryDir": "${sourceDir}/Build/x64-Clang-Debug",
"cacheVariables": {
"CMAKE_C_COMPILER": "clang-cl",
"CMAKE_CXX_COMPILER": "clang-cl",
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/Install/x64-Clang-Debug"
}
},
{
"name": "x64-Clang-Release",
"displayName": "Clang x64 Release",
"generator": "Ninja",
"binaryDir": "${sourceDir}/Build/x64-Clang-Release",
"cacheVariables": {
"CMAKE_C_COMPILER": "clang-cl",
"CMAKE_CXX_COMPILER": "clang-cl",
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/Install/x64-Clang-Release"
}
},
{
"name": "x64-Clang-RelWithDebInfo",
"displayName": "Clang x64 RelWithDebInfo",
"generator": "Ninja",
"binaryDir": "${sourceDir}/Build/x64-Clang-RelWithDebInfo",
"cacheVariables": {
"CMAKE_C_COMPILER": "clang-cl",
"CMAKE_CXX_COMPILER": "clang-cl",
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/Install/x64-Clang-RelWithDebInfo"
}
}
]
}