mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-22 10:04:39 +00:00
* add CMakePresets.json * Update REUSE.toml * fix vs * impl * adjust CMakeSettings.json * add FindQt.cmake to reuse * rename cmake file, add check before running cmake and add inheritation to presets * add error check in cmake * cleanup * degrade not detected message and search only for x64 Qt
78 lines
1.9 KiB
JSON
78 lines
1.9 KiB
JSON
{
|
|
"version": 5,
|
|
"cmakeMinimumRequired": {
|
|
"major": 3,
|
|
"minor": 24,
|
|
"patch": 0
|
|
},
|
|
"configurePresets": [
|
|
{
|
|
"name": "x64-Clang-Base",
|
|
"hidden": true,
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/Build/${presetName}",
|
|
"cacheVariables": {
|
|
"CMAKE_C_COMPILER": "clang-cl",
|
|
"CMAKE_CXX_COMPILER": "clang-cl",
|
|
"CMAKE_INSTALL_PREFIX": "${sourceDir}/Build/${presetName}"
|
|
},
|
|
"vendor": {
|
|
"microsoft.com/VisualStudioSettings/CMake/1.0": {
|
|
"intelliSenseMode": "windows-clang-x64"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "x64-Clang-Debug",
|
|
"displayName": "Clang x64 Debug",
|
|
"inherits": ["x64-Clang-Base"],
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug"
|
|
}
|
|
},
|
|
{
|
|
"name": "x64-Clang-Debug-Qt",
|
|
"displayName": "Clang x64 Debug with Qt",
|
|
"inherits": ["x64-Clang-Base"],
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
"ENABLE_QT_GUI": "ON"
|
|
}
|
|
},
|
|
{
|
|
"name": "x64-Clang-Release",
|
|
"displayName": "Clang x64 Release",
|
|
"inherits": ["x64-Clang-Base"],
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release"
|
|
}
|
|
},
|
|
{
|
|
"name": "x64-Clang-Release-Qt",
|
|
"displayName": "Clang x64 Release with Qt",
|
|
"inherits": ["x64-Clang-Base"],
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release",
|
|
"ENABLE_QT_GUI": "ON"
|
|
}
|
|
},
|
|
{
|
|
"name": "x64-Clang-RelWithDebInfo",
|
|
"displayName": "Clang x64 RelWithDebInfo",
|
|
"inherits": ["x64-Clang-Base"],
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
|
|
}
|
|
},
|
|
{
|
|
"name": "x64-Clang-RelWithDebInfo-Qt",
|
|
"displayName": "Clang x64 RelWithDebInfo with Qt",
|
|
"inherits": ["x64-Clang-Base"],
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
|
|
"ENABLE_QT_GUI": "ON"
|
|
}
|
|
}
|
|
]
|
|
}
|