mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-12 20:55:56 +00:00
Add platform specific base presets
This commit is contained in:
parent
6eaec7a004
commit
a949a9f395
1 changed files with 29 additions and 9 deletions
|
@ -7,14 +7,18 @@
|
||||||
},
|
},
|
||||||
"configurePresets": [
|
"configurePresets": [
|
||||||
{
|
{
|
||||||
"name": "x64-Clang-Base",
|
"name": "x64-Clang-Base-Windows",
|
||||||
"hidden": true,
|
"hidden": true,
|
||||||
|
"condition": {
|
||||||
|
"type": "equals",
|
||||||
|
"lhs": "${hostSystemName}",
|
||||||
|
"rhs": "Windows"
|
||||||
|
},
|
||||||
"generator": "Ninja",
|
"generator": "Ninja",
|
||||||
"binaryDir": "${sourceDir}/Build/${presetName}",
|
"binaryDir": "${sourceDir}/Build/${presetName}",
|
||||||
"cacheVariables": {
|
"cacheVariables": {
|
||||||
"CMAKE_C_COMPILER": "clang-cl",
|
"CMAKE_C_COMPILER": "clang-cl",
|
||||||
"CMAKE_CXX_COMPILER": "clang-cl",
|
"CMAKE_CXX_COMPILER": "clang-cl"
|
||||||
"CMAKE_INSTALL_PREFIX": "${sourceDir}/Build/${presetName}"
|
|
||||||
},
|
},
|
||||||
"vendor": {
|
"vendor": {
|
||||||
"microsoft.com/VisualStudioSettings/CMake/1.0": {
|
"microsoft.com/VisualStudioSettings/CMake/1.0": {
|
||||||
|
@ -22,10 +26,26 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "x64-Clang-Base-Linux",
|
||||||
|
"hidden": true,
|
||||||
|
"condition": {
|
||||||
|
"type": "equals",
|
||||||
|
"lhs": "${hostSystemName}",
|
||||||
|
"rhs": "Linux"
|
||||||
|
},
|
||||||
|
"generator": "Ninja",
|
||||||
|
"binaryDir": "${sourceDir}/Build/${presetName}",
|
||||||
|
"cacheVariables": {
|
||||||
|
"CMAKE_C_COMPILER": "clang",
|
||||||
|
"CMAKE_CXX_COMPILER": "clang++"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "x64-Clang-Debug",
|
"name": "x64-Clang-Debug",
|
||||||
|
"hidden": false,
|
||||||
"displayName": "Clang x64 Debug",
|
"displayName": "Clang x64 Debug",
|
||||||
"inherits": ["x64-Clang-Base"],
|
"inherits": ["x64-Clang-Base-Linux", "x64-Clang-Base-Windows"],
|
||||||
"cacheVariables": {
|
"cacheVariables": {
|
||||||
"CMAKE_BUILD_TYPE": "Debug"
|
"CMAKE_BUILD_TYPE": "Debug"
|
||||||
}
|
}
|
||||||
|
@ -33,7 +53,7 @@
|
||||||
{
|
{
|
||||||
"name": "x64-Clang-Debug-Qt",
|
"name": "x64-Clang-Debug-Qt",
|
||||||
"displayName": "Clang x64 Debug with Qt",
|
"displayName": "Clang x64 Debug with Qt",
|
||||||
"inherits": ["x64-Clang-Base"],
|
"inherits": ["x64-Clang-Base-Linux", "x64-Clang-Base-Windows"],
|
||||||
"cacheVariables": {
|
"cacheVariables": {
|
||||||
"CMAKE_BUILD_TYPE": "Debug",
|
"CMAKE_BUILD_TYPE": "Debug",
|
||||||
"ENABLE_QT_GUI": "ON"
|
"ENABLE_QT_GUI": "ON"
|
||||||
|
@ -42,7 +62,7 @@
|
||||||
{
|
{
|
||||||
"name": "x64-Clang-Release",
|
"name": "x64-Clang-Release",
|
||||||
"displayName": "Clang x64 Release",
|
"displayName": "Clang x64 Release",
|
||||||
"inherits": ["x64-Clang-Base"],
|
"inherits": ["x64-Clang-Base-Linux", "x64-Clang-Base-Windows"],
|
||||||
"cacheVariables": {
|
"cacheVariables": {
|
||||||
"CMAKE_BUILD_TYPE": "Release"
|
"CMAKE_BUILD_TYPE": "Release"
|
||||||
}
|
}
|
||||||
|
@ -50,7 +70,7 @@
|
||||||
{
|
{
|
||||||
"name": "x64-Clang-Release-Qt",
|
"name": "x64-Clang-Release-Qt",
|
||||||
"displayName": "Clang x64 Release with Qt",
|
"displayName": "Clang x64 Release with Qt",
|
||||||
"inherits": ["x64-Clang-Base"],
|
"inherits": ["x64-Clang-Base-Linux", "x64-Clang-Base-Windows"],
|
||||||
"cacheVariables": {
|
"cacheVariables": {
|
||||||
"CMAKE_BUILD_TYPE": "Release",
|
"CMAKE_BUILD_TYPE": "Release",
|
||||||
"ENABLE_QT_GUI": "ON"
|
"ENABLE_QT_GUI": "ON"
|
||||||
|
@ -59,7 +79,7 @@
|
||||||
{
|
{
|
||||||
"name": "x64-Clang-RelWithDebInfo",
|
"name": "x64-Clang-RelWithDebInfo",
|
||||||
"displayName": "Clang x64 RelWithDebInfo",
|
"displayName": "Clang x64 RelWithDebInfo",
|
||||||
"inherits": ["x64-Clang-Base"],
|
"inherits": ["x64-Clang-Base-Linux", "x64-Clang-Base-Windows"],
|
||||||
"cacheVariables": {
|
"cacheVariables": {
|
||||||
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
|
||||||
}
|
}
|
||||||
|
@ -67,7 +87,7 @@
|
||||||
{
|
{
|
||||||
"name": "x64-Clang-RelWithDebInfo-Qt",
|
"name": "x64-Clang-RelWithDebInfo-Qt",
|
||||||
"displayName": "Clang x64 RelWithDebInfo with Qt",
|
"displayName": "Clang x64 RelWithDebInfo with Qt",
|
||||||
"inherits": ["x64-Clang-Base"],
|
"inherits": ["x64-Clang-Base-Linux", "x64-Clang-Base-Windows"],
|
||||||
"cacheVariables": {
|
"cacheVariables": {
|
||||||
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
|
||||||
"ENABLE_QT_GUI": "ON"
|
"ENABLE_QT_GUI": "ON"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue