The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

build: Introduce XRT_FEATURE_CLIENT_WITHOUT_SERVICE and XRT_FEATURE_IPC_CLIENT

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2410>

authored by

Rylie Pavlik and committed by
Marge Bot
5ff7062a c7bfa78b

+14
+12
CMakeLists.txt
··· 286 286 # Enable the client debug gui by default for in-proc - 287 287 # In in-proc, the client debug gui is the same as the server debug gui, and we use it a lot in this configuration 288 288 option_with_deps(XRT_FEATURE_CLIENT_DEBUG_GUI "Allow clients to have their own instances of the debug gui" DEFAULT ON DEPENDS XRT_FEATURE_DEBUG_GUI) 289 + 290 + # This is an advanced feature, for if you want the client module without the service. 291 + # Typically only used in derived runtimes or to build the client and service with different build options 292 + # (such as Android C++ standard library) that do not affect the IPC ABI. 293 + option_with_deps(XRT_FEATURE_CLIENT_WITHOUT_SERVICE "Enable building OpenXR runtime as IPC client without simultaneously building the service" DEFAULT OFF DEPENDS XRT_MODULE_IPC XRT_FEATURE_OPENXR "NOT XRT_FEATURE_SERVICE") 294 + endif() 295 + 296 + # Do not manually set XRT_FEATURE_IPC_CLIENT, it is always computed 297 + if(XRT_FEATURE_SERVICE OR XRT_FEATURE_CLIENT_WITHOUT_SERVICE) 298 + set(XRT_FEATURE_IPC_CLIENT ON) 299 + else() 300 + set(XRT_FEATURE_IPC_CLIENT OFF) 289 301 endif() 290 302 291 303 # systemd detailed config
+2
src/xrt/include/xrt/xrt_config_build.h.cmake_in
··· 26 26 /* keep sorted */ 27 27 28 28 #cmakedefine XRT_FEATURE_CLIENT_DEBUG_GUI 29 + #cmakedefine XRT_FEATURE_CLIENT_WITHOUT_SERVICE 29 30 #cmakedefine XRT_FEATURE_COLOR_LOG 30 31 #cmakedefine XRT_FEATURE_DEBUG_GUI 32 + #cmakedefine XRT_FEATURE_IPC_CLIENT 31 33 #cmakedefine XRT_FEATURE_OPENXR 32 34 #cmakedefine XRT_FEATURE_OPENXR_ACTIVE_ACTION_SET_PRIORITY 33 35 #cmakedefine XRT_FEATURE_OPENXR_BODY_TRACKING_FB