monado/src/xrt/targets/CMakeLists.txt
Lubosz Sarnecki 040ad33188 t/libmonado: Add libmonado implementation
Work done by lots of different authors that did various pieces of the library.

Co-authored-by: Korcan Hussein <korcan.hussein@collabora.com>
Co-authored-by: Jakob Bornecrantz <jakob@collabora.com>
Co-authored-by: Ryan Pavlik <ryan.pavlik@collabora.com>
2023-09-12 15:38:31 +01:00

49 lines
925 B
CMake

# Copyright 2019-2020, Collabora, Ltd.
# SPDX-License-Identifier: BSL-1.0
######
# This is where we collect all of the pieces from the different parts of
# the source tree and build a complete driver or integration part.
add_subdirectory(common)
if(XRT_FEATURE_OPENXR)
add_subdirectory(openxr)
endif()
if(XRT_MODULE_MONADO_CLI)
add_subdirectory(cli)
endif()
if(XRT_MODULE_MONADO_GUI)
add_subdirectory(gui)
endif()
if(XRT_FEATURE_SERVICE AND NOT WIN32)
add_subdirectory(ctl)
endif()
if(XRT_FEATURE_SERVICE AND XRT_FEATURE_OPENXR)
if(ANDROID)
add_subdirectory(service-lib)
else()
add_subdirectory(service)
endif()
endif()
if(XRT_FEATURE_STEAMVR_PLUGIN)
add_subdirectory(steamvr_drv)
endif()
if(XRT_FEATURE_SERVICE
AND XRT_HAVE_SDL2
AND XRT_HAVE_VULKAN
)
add_subdirectory(sdl_test)
endif()
# Monado management library
if(XRT_FEATURE_SERVICE AND XRT_HAVE_LINUX)
add_subdirectory(libmonado)
endif()