shadPS4/CMakePresets.json
Osyotr c68e662100 [cmake] Show Windows presets only on Windows
Also did a small cleanup to remove duplicated cache variables.
2025-06-29 18:31:59 +03:00

83 lines
2.0 KiB
JSON

{
"version": 5,
"cmakeMinimumRequired": {
"major": 3,
"minor": 24,
"patch": 0
},
"configurePresets": [
{
"name": "Base",
"hidden": true,
"generator": "Ninja",
"binaryDir": "${sourceDir}/Build/${presetName}",
"installDir": "${sourceDir}/Install/${presetName}"
},
{
"name": "Qt-GUI",
"hidden": true,
"cacheVariables": {
"ENABLE_QT_GUI": "ON"
}
},
{
"name": "x64-Windows-Base",
"inherits": [ "Base" ],
"hidden": true,
"cacheVariables": {
"CMAKE_C_COMPILER": "clang-cl",
"CMAKE_CXX_COMPILER": "clang-cl"
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
},
"vendor": {
"microsoft.com/VisualStudioSettings/CMake/1.0": {
"intelliSenseMode": "windows-clang-x64"
}
}
},
{
"name": "x64-Clang-Debug",
"displayName": "Clang x64 Debug",
"inherits": [ "x64-Windows-Base" ],
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "x64-Clang-Debug-Qt",
"displayName": "Clang x64 Debug with Qt",
"inherits": [ "x64-Clang-Debug", "Qt-GUI" ]
},
{
"name": "x64-Clang-Release",
"displayName": "Clang x64 Release",
"inherits": [ "x64-Windows-Base" ],
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "x64-Clang-Release-Qt",
"displayName": "Clang x64 Release with Qt",
"inherits": [ "x64-Clang-Release", "Qt-GUI" ]
},
{
"name": "x64-Clang-RelWithDebInfo",
"displayName": "Clang x64 RelWithDebInfo",
"inherits": [ "x64-Windows-Base" ],
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
},
{
"name": "x64-Clang-RelWithDebInfo-Qt",
"displayName": "Clang x64 RelWithDebInfo with Qt",
"inherits": [ "x64-Clang-RelWithDebInfo", "Qt-GUI" ]
}
]
}