monado/src/xrt/auxiliary/CMakeLists.txt

55 lines
984 B
CMake
Raw Normal View History

# Copyright 2019-2022, Collabora, Ltd.
2019-03-18 05:52:32 +00:00
# SPDX-License-Identifier: BSL-1.0
# Common includes
add_library(aux-includes INTERFACE)
target_include_directories(
aux-includes INTERFACE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}
)
target_link_libraries(aux-includes INTERFACE xrt-interfaces)
# Bindings library.
add_subdirectory(bindings)
# OpenGL library.
if(XRT_HAVE_OPENGL OR XRT_HAVE_OPENGLES)
add_subdirectory(ogl)
endif()
2022-05-02 21:48:23 +00:00
# Direct3D library
2022-05-24 23:02:31 +00:00
if(XRT_HAVE_D3D11 OR XRT_HAVE_D3D12)
add_subdirectory(d3d)
2022-05-02 21:48:23 +00:00
endif()
# Math library.
add_subdirectory(math)
2019-03-18 05:52:32 +00:00
# OS library.
add_subdirectory(os)
2019-05-03 14:47:45 +00:00
# GStreamer library.
if(XRT_HAVE_GST)
add_subdirectory(gstreamer)
endif()
# Tracking library.
add_subdirectory(tracking)
# Util library.
add_subdirectory(util)
# Vive helper library.
2023-03-03 20:58:13 +00:00
if(XRT_MODULE_AUX_VIVE)
add_subdirectory(vive)
endif()
# Android library.
if(ANDROID)
add_subdirectory(android)
endif()
# Vulkan library.
if(XRT_HAVE_VULKAN)
add_subdirectory(vk)
endif()