mirror of
https://github.com/obhq/obliteration.git
synced 2024-11-23 11:19:56 +00:00
112 lines
2.2 KiB
JSON
112 lines
2.2 KiB
JSON
{
|
|
"version": 3,
|
|
"configurePresets": [
|
|
{
|
|
"name": "default",
|
|
"binaryDir": "${sourceDir}/build",
|
|
"cacheVariables": {
|
|
"CMAKE_EXPORT_COMPILE_COMMANDS": true
|
|
}
|
|
},
|
|
{
|
|
"name": "windows",
|
|
"inherits": "default",
|
|
"generator": "Ninja",
|
|
"toolchainFile": "_deps/msvc-src/Windows.MSVC.toolchain.cmake",
|
|
"condition": {
|
|
"type": "equals",
|
|
"lhs": "${hostSystemName}",
|
|
"rhs": "Windows"
|
|
}
|
|
},
|
|
{
|
|
"name": "windows-release",
|
|
"inherits": "windows",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release"
|
|
}
|
|
},
|
|
{
|
|
"name": "windows-debug",
|
|
"inherits": "windows",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug"
|
|
}
|
|
},
|
|
{
|
|
"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"
|
|
},
|
|
{
|
|
"name": "windows-debug",
|
|
"configurePreset": "windows-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"
|
|
}
|
|
]
|
|
}
|