mirror of
https://github.com/WiVRn/WiVRn.git
synced 2026-12-04 15:52:50 -08:00
294 lines
7.9 KiB
JSON
294 lines
7.9 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",
|
|
"FETCHCONTENT_BASE_DIR": "${sourceDir}/build-deps",
|
|
"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": "android-base",
|
|
"hidden": true,
|
|
"generator": "Ninja",
|
|
"cacheVariables": {
|
|
"CMAKE_SYSTEM_NAME": "Android",
|
|
"CMAKE_SYSTEM_VERSION": "29",
|
|
"CMAKE_ANDROID_NDK_VERSION": "29.0.14206865",
|
|
"CMAKE_ANDROID_ARCH_ABI": "arm64-v8a",
|
|
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
|
|
"CMAKE_INTERPROCEDURAL_OPTIMIZATION": "ON",
|
|
"FETCHCONTENT_BASE_DIR": "${sourceDir}/build-deps-android",
|
|
"WIVRN_BUILD_CLIENT": "ON",
|
|
"WIVRN_BUILD_DASHBOARD": "OFF",
|
|
"WIVRN_BUILD_SERVER": "OFF",
|
|
"WIVRN_BUILD_SERVER_LIBRARY": "OFF",
|
|
"WIVRN_BUILD_WIVRNCTL": "OFF",
|
|
"WIVRN_USE_ANDROID_BIN_LIBKTX": "ON",
|
|
"WIVRN_USE_SYSTEM_BOOST": "OFF",
|
|
"WIVRN_USE_SYSTEM_FREETYPE": "OFF",
|
|
"WIVRN_WERROR": "ON",
|
|
"WIVRN_SHOW_IMGUI_DEMO_WINDOW": "OFF",
|
|
"WIVRN_CLIENT_DEBUG_MENU": "OFF",
|
|
"WIVRN_COMPRESS_GLB": "OFF",
|
|
"WIVRN_ADDRESS_SANITIZER": "OFF",
|
|
"WIVRN_CSS": "images/wivrn-local.css",
|
|
"WIVRN_APK_VERSION_CODE": "1",
|
|
"WIVRN_APK_NAME": "WiVRn Local",
|
|
"WIVRN_APK_PACKAGE": "org.meumeu.wivrn.local"
|
|
}
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
},
|
|
{
|
|
"name": "android-Debug",
|
|
"displayName": "Android (debug)",
|
|
"inherits": "android-base",
|
|
"binaryDir": "${sourceDir}/build-android-Debug",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug"
|
|
}
|
|
},
|
|
{
|
|
"name": "android-DebugWithValidationLayer",
|
|
"displayName": "Android (debug with Vulkan validation layer)",
|
|
"inherits": "android-Debug",
|
|
"binaryDir": "${sourceDir}/build-android-DebugWithValidationLayer",
|
|
"cacheVariables": {
|
|
"WIVRN_USE_ANDROID_VALIDATION_LAYER": "ON"
|
|
}
|
|
},
|
|
{
|
|
"name": "android-DebugAsan",
|
|
"displayName": "Android (debug with Address Sanitizer)",
|
|
"inherits": "android-Debug",
|
|
"binaryDir": "${sourceDir}/build-android-DebugAsan",
|
|
"cacheVariables": {
|
|
"WIVRN_ADDRESS_SANITIZER": "ON"
|
|
}
|
|
},
|
|
{
|
|
"name": "android-DebugKtx",
|
|
"displayName": "Android (debug, compile libktx from source)",
|
|
"inherits": "android-Debug",
|
|
"binaryDir": "${sourceDir}/build-android-DebugKtx",
|
|
"cacheVariables": {
|
|
"WIVRN_USE_ANDROID_BIN_LIBKTX": "OFF"
|
|
}
|
|
},
|
|
{
|
|
"name": "android-Release",
|
|
"displayName": "Android (release)",
|
|
"inherits": "android-base",
|
|
"binaryDir": "${sourceDir}/build-android-Release",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
|
|
"WIVRN_APK_DEBUGGABLE": "OFF",
|
|
"WIVRN_CSS": "images/wivrn-nightly.css"
|
|
}
|
|
},
|
|
{
|
|
"name": "android-ReleaseDebuggable",
|
|
"displayName": "Android (release, debuggable)",
|
|
"inherits": "android-Release",
|
|
"binaryDir": "${sourceDir}/build-android-ReleaseDebuggable",
|
|
"cacheVariables": {
|
|
"WIVRN_APK_DEBUGGABLE": "ON",
|
|
"WIVRN_APK_NAME": "WiVRn Nightly",
|
|
"WIVRN_APK_PACKAGE": "org.meumeu.wivrn.nightly"
|
|
}
|
|
},
|
|
{
|
|
"name": "android-Oculus",
|
|
"displayName": "Android (Meta Store)",
|
|
"inherits": "android-Release",
|
|
"binaryDir": "${sourceDir}/build-android-Oculus",
|
|
"cacheVariables": {
|
|
"WIVRN_APK_NAME": "WiVRn",
|
|
"WIVRN_APK_PACKAGE": "org.meumeu.wivrn",
|
|
"WIVRN_APK_SUPPORTED_DEVICES": "quest2|quest3|questpro"
|
|
}
|
|
}
|
|
],
|
|
"buildPresets": [
|
|
{
|
|
"name": "default",
|
|
"displayName": "Build and install",
|
|
"configurePreset": "everything",
|
|
"targets": "install"
|
|
}
|
|
]
|
|
}
|