Files
WiVRn/CMakePresets.json

193 lines
4.8 KiB
JSON

{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 25,
"patch": 0
},
"configurePresets": [
{
"name": "base",
"hidden": true,
"generator": "Ninja",
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"CMAKE_INTERPROCEDURAL_OPTIMIZATION": "ON",
"CMAKE_BUILD_TYPE": "Debug",
"WIVRN_BUILD_CLIENT": "OFF",
"WIVRN_BUILD_SERVER": "OFF",
"WIVRN_BUILD_SERVER_LIBRARY": "OFF",
"WIVRN_BUILD_DASHBOARD": "OFF",
"WIVRN_BUILD_DISSECTOR": "OFF",
"WIVRN_BUILD_WIVRNCTL": "OFF",
"WIVRN_USE_VAAPI": "ON",
"WIVRN_USE_VULKAN_ENCODE": "ON",
"WIVRN_USE_X264": "ON",
"WIVRN_USE_NVENC": "ON",
"WIVRN_USE_SYSTEMD": "ON",
"WIVRN_USE_SYSTEM_BOOST": "ON",
"WIVRN_USE_PIPEWIRE": "ON",
"WIVRN_WERROR": "ON"
}
},
{
"name": "everything",
"displayName": "Everything",
"inherits": "base",
"binaryDir": "${sourceDir}/build-everything",
"cacheVariables": {
"WIVRN_BUILD_CLIENT": "ON",
"WIVRN_BUILD_SERVER": "ON",
"WIVRN_BUILD_SERVER_LIBRARY": "ON",
"WIVRN_BUILD_WIVRNCTL": "ON",
"WIVRN_BUILD_DASHBOARD": "ON",
"WIVRN_BUILD_DISSECTOR": "ON",
"QT_QML_GENERATE_QMLLS_INI": "ON"
}
},
{
"name": "client",
"displayName": "Client only",
"inherits": "base",
"binaryDir": "${sourceDir}/build-client",
"cacheVariables": {
"WIVRN_BUILD_CLIENT": "ON"
}
},
{
"name": "server",
"displayName": "Server only",
"inherits": "base",
"binaryDir": "${sourceDir}/build-server",
"cacheVariables": {
"WIVRN_BUILD_SERVER": "ON",
"WIVRN_BUILD_SERVER_LIBRARY": "ON",
"WIVRN_BUILD_WIVRNCTL": "ON"
}
},
{
"name": "server-tracing",
"displayName": "Server with Perfetto tracing",
"inherits": "server",
"binaryDir": "${sourceDir}/build-server-tracing",
"cacheVariables": {
"WIVRN_USE_PERFETTO": "ON"
}
},
{
"name": "server-tracing-monado",
"displayName": "Server with Perfetto tracing (incl. Monado)",
"inherits": "server-tracing",
"binaryDir": "${sourceDir}/build-server-tracing-monado",
"cacheVariables": {
"WIVRN_TRACE_MONADO": "ON"
}
},
{
"name": "dashboard",
"displayName": "Dashboard only",
"inherits": "base",
"binaryDir": "${sourceDir}/build-dashboard",
"cacheVariables": {
"WIVRN_BUILD_DASHBOARD": "ON",
"QT_QML_GENERATE_QMLLS_INI": "ON"
}
},
{
"name": "dissector",
"displayName": "Wireshark dissector only",
"inherits": "base",
"binaryDir": "${sourceDir}/build-dissector",
"cacheVariables": {
"WIVRN_BUILD_DISSECTOR": "ON"
}
},
{
"name": "everything-no-systemd",
"displayName": "Everything (no systemd)",
"inherits": "everything",
"binaryDir": "${sourceDir}/build-no-systemd",
"cacheVariables": {
"WIVRN_BUILD_WIVRNCTL": "OFF",
"WIVRN_USE_SYSTEMD": "OFF"
}
},
{
"name": "everything-no-system-boost",
"displayName": "Everything (no system Boost)",
"inherits": "everything",
"binaryDir": "${sourceDir}/build-no-system-boost",
"cacheVariables": {
"WIVRN_USE_SYSTEM_BOOST": "OFF"
}
},
{
"name": "server-no-systemd",
"displayName": "Server only (no systemd)",
"inherits": "server",
"binaryDir": "${sourceDir}/build-server-no-systemd",
"cacheVariables": {
"WIVRN_BUILD_WIVRNCTL": "OFF",
"WIVRN_USE_SYSTEMD": "OFF"
}
},
{
"name": "client-no-system-boost",
"displayName": "Client only (no system Boost)",
"inherits": "client",
"binaryDir": "${sourceDir}/build-client-no-system-boost",
"cacheVariables": {
"WIVRN_USE_SYSTEM_BOOST": "OFF"
}
},
{
"name": "server-no-system-boost",
"displayName": "Server only (no system Boost)",
"inherits": "server",
"binaryDir": "${sourceDir}/build-server-no-system-boost",
"cacheVariables": {
"WIVRN_USE_SYSTEM_BOOST": "OFF"
}
},
{
"name": "dissector-no-system-boost",
"displayName": "Dissector only (no system Boost)",
"inherits": "dissector",
"binaryDir": "${sourceDir}/build-dissector-no-system-boost",
"cacheVariables": {
"WIVRN_USE_SYSTEM_BOOST": "OFF"
}
},
{
"name": "frame",
"generator": "Ninja",
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"CMAKE_INTERPROCEDURAL_OPTIMIZATION": "ON",
"CMAKE_BUILD_TYPE": "Release",
"WIVRN_BUILD_CLIENT": "ON",
"WIVRN_BUILD_SERVER": "OFF",
"WIVRN_BUILD_SERVER_LIBRARY": "OFF",
"WIVRN_BUILD_DASHBOARD": "OFF",
"WIVRN_BUILD_DISSECTOR": "OFF",
"WIVRN_BUILD_WIVRNCTL": "OFF",
"WIVRN_USE_PIPEWIRE": "ON",
"WIVRN_USE_V4L2": "ON",
"WIVRN_USE_SYSTEM_BOOST": "OFF",
"WIVRN_USE_SYSTEM_LIBKTX": "OFF",
"WIVRN_USE_SYSTEM_OPENXR": "OFF",
"WIVRN_COMPRESS_GLB": "ON",
"WIVRN_WERROR": "ON"
}
}
],
"buildPresets": [
{
"name": "default",
"displayName": "Build and install",
"configurePreset": "everything",
"targets": "install"
}
]
}