mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
3689eca3ce
The hardcoded compiler flags meant some of these were broken on MSVC.
108 lines
3.1 KiB
JSON
108 lines
3.1 KiB
JSON
{
|
|
"version": 3,
|
|
"cmakeMinimumRequired": {
|
|
"major": 3,
|
|
"minor": 21,
|
|
"patch": 0
|
|
},
|
|
"configurePresets": [
|
|
{
|
|
"name": "default",
|
|
"inherits": "service-debug",
|
|
"displayName": "Default (same as service-debug)"
|
|
},
|
|
{
|
|
"name": ".base-ninja",
|
|
"generator": "Ninja",
|
|
"hidden": true,
|
|
"binaryDir": "${sourceDir}/build"
|
|
},
|
|
{
|
|
"name": "service-debug",
|
|
"displayName": "Debug service",
|
|
"inherits": ".base-ninja",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
"XRT_FEATURE_SERVICE": "ON"
|
|
},
|
|
"condition": {
|
|
"lhs": "${hostSystemName}",
|
|
"type": "notEquals",
|
|
"rhs": "Windows"
|
|
}
|
|
},
|
|
{
|
|
"name": "service-debug-asan",
|
|
"displayName": "Debug service with sanitizers",
|
|
"inherits": "service-debug",
|
|
"cacheVariables": {
|
|
"SANITIZE_ADDRESS": "ON",
|
|
"SANITIZE_UNDEFINED": "ON"
|
|
}
|
|
},
|
|
{
|
|
"name": "inproc-debug",
|
|
"displayName": "Debug in-process",
|
|
"inherits": ".base-ninja",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
"XRT_FEATURE_SERVICE": "OFF"
|
|
}
|
|
},
|
|
{
|
|
"name": "service-release",
|
|
"displayName": "Release service",
|
|
"inherits": "service-debug",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release",
|
|
"BUILD_DOC": "ON",
|
|
"BUILD_DOC_EXTRACT_ALL": "ON"
|
|
},
|
|
"condition": {
|
|
"lhs": "${hostSystemName}",
|
|
"type": "notEquals",
|
|
"rhs": "Windows"
|
|
}
|
|
},
|
|
{
|
|
"name": "inproc-release",
|
|
"displayName": "Release in-process",
|
|
"inherits": "inproc-debug",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release",
|
|
"BUILD_DOC": "ON",
|
|
"BUILD_DOC_EXTRACT_ALL": "ON"
|
|
}
|
|
},
|
|
{
|
|
"name": "service-relwithdebinfo",
|
|
"displayName": "RelWithDebInfo service",
|
|
"inherits": "service-debug",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
|
|
},
|
|
"condition": {
|
|
"lhs": "${hostSystemName}",
|
|
"type": "notEquals",
|
|
"rhs": "Windows"
|
|
}
|
|
},
|
|
{
|
|
"name": "inproc-relwithdebinfo",
|
|
"displayName": "RelWithDebInfo in-process",
|
|
"inherits": "inproc-debug",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
|
|
}
|
|
}
|
|
],
|
|
"buildPresets": [
|
|
{
|
|
"name": "default",
|
|
"displayName": "Build and install",
|
|
"configurePreset": "default",
|
|
"targets": "install"
|
|
}
|
|
]
|
|
}
|