obliteration/CMakePresets.json
2023-02-26 19:22:42 +00:00

105 lines
2.1 KiB
JSON

{
"version": 3,
"configurePresets": [
{
"name": "default",
"binaryDir": "${sourceDir}/build"
},
{
"name": "windows",
"inherits": "default",
"generator": "Visual Studio 16 2019",
"architecture": "x64",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
}
},
{
"name": "windows-release",
"inherits": "windows"
},
{
"name": "windows-debug",
"inherits": "windows"
},
{
"name": "linux",
"inherits": "default",
"generator": "Unix Makefiles",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
}
},
{
"name": "linux-release",
"inherits": "linux",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "linux-debug",
"inherits": "linux",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "mac",
"inherits": "default",
"generator": "Unix Makefiles",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Darwin"
}
},
{
"name": "mac-release",
"inherits": "mac",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "mac-debug",
"inherits": "mac",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
}
],
"buildPresets": [
{
"name": "windows-release",
"configurePreset": "windows-release",
"configuration": "Release"
},
{
"name": "windows-debug",
"configurePreset": "windows-debug",
"configuration": "Debug"
},
{
"name": "linux-release",
"configurePreset": "linux-release"
},
{
"name": "linux-debug",
"configurePreset": "linux-debug"
},
{
"name": "mac-release",
"configurePreset": "mac-release"
},
{
"name": "mac-debug",
"configurePreset": "mac-debug"
}
]
}