mirror of
https://github.com/zealdocs/zeal.git
synced 2024-08-17 02:00:25 +03:00
128 lines
2.9 KiB
JSON
128 lines
2.9 KiB
JSON
{
|
|
"version": 3,
|
|
"cmakeMinimumRequired": {
|
|
"major": 3,
|
|
"minor": 21,
|
|
"patch": 0
|
|
},
|
|
"configurePresets": [
|
|
{
|
|
"name": "ninja-multi",
|
|
"generator": "Ninja Multi-Config",
|
|
"binaryDir": "${sourceDir}/build/${presetName}",
|
|
"warnings": {
|
|
"deprecated": true,
|
|
"dev": true,
|
|
"uninitialized": true,
|
|
"unusedCli": true
|
|
}
|
|
},
|
|
{
|
|
"name": "ninja-multi-portable",
|
|
"inherits": [
|
|
"ninja-multi",
|
|
"config-portable"
|
|
]
|
|
},
|
|
{
|
|
"name": "ninja-multi-vcpkg",
|
|
"condition": {
|
|
"type": "equals",
|
|
"lhs": "${hostSystemName}",
|
|
"rhs": "Windows"
|
|
},
|
|
"inherits": [
|
|
"ninja-multi"
|
|
],
|
|
"cacheVariables": {
|
|
"CMAKE_TOOLCHAIN_FILE": {
|
|
"type": "FILEPATH",
|
|
"value": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
|
|
},
|
|
"X_VCPKG_APPLOCAL_DEPS_INSTALL": "ON"
|
|
}
|
|
},
|
|
{
|
|
"name": "ninja-multi-vcpkg-portable",
|
|
"inherits": [
|
|
"ninja-multi-vcpkg",
|
|
"config-portable"
|
|
]
|
|
},
|
|
{
|
|
"name": "config-portable",
|
|
"hidden": true,
|
|
"cacheVariables": {
|
|
"ZEAL_PORTABLE_BUILD": {
|
|
"type": "BOOL",
|
|
"value": "ON"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "config-release",
|
|
"hidden": true,
|
|
"cacheVariables": {
|
|
"ZEAL_RELEASE_BUILD": {
|
|
"type": "BOOL",
|
|
"value": "ON"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"buildPresets": [
|
|
{
|
|
"name": "ninja-multi-debug",
|
|
"configurePreset": "ninja-multi",
|
|
"configuration": "Debug"
|
|
},
|
|
{
|
|
"name": "ninja-multi-release",
|
|
"configurePreset": "ninja-multi",
|
|
"configuration": "RelWithDebInfo"
|
|
},
|
|
{
|
|
"name": "ninja-multi-debug-portable",
|
|
"configurePreset": "ninja-multi-portable",
|
|
"configuration": "Debug"
|
|
},
|
|
{
|
|
"name": "ninja-multi-portable-release",
|
|
"configurePreset": "ninja-multi-portable",
|
|
"configuration": "RelWithDebInfo"
|
|
},
|
|
{
|
|
"name": "ninja-multi-vcpkg-debug",
|
|
"configurePreset": "ninja-multi-vcpkg",
|
|
"configuration": "Debug"
|
|
},
|
|
{
|
|
"name": "ninja-multi-vcpkg-release",
|
|
"configurePreset": "ninja-multi-vcpkg",
|
|
"configuration": "RelWithDebInfo"
|
|
},
|
|
{
|
|
"name": "ninja-multi-vcpkg-portable-debug",
|
|
"configurePreset": "ninja-multi-vcpkg-portable",
|
|
"configuration": "Debug"
|
|
},
|
|
{
|
|
"name": "ninja-multi-vcpkg-portable-release",
|
|
"configurePreset": "ninja-multi-vcpkg-portable",
|
|
"configuration": "RelWithDebInfo"
|
|
}
|
|
],
|
|
"testPresets": [
|
|
{
|
|
"name": "ninja-multi-vcpkg-debug",
|
|
"configurePreset": "ninja-multi-vcpkg",
|
|
"configuration": "Debug"
|
|
},
|
|
{
|
|
"name": "ninja-multi-vcpkg-release",
|
|
"configurePreset": "ninja-multi-vcpkg",
|
|
"configuration": "RelWithDebInfo"
|
|
}
|
|
]
|
|
}
|