2020-01-25 14:36:31 +00:00
|
|
|
# Copyright 2019-2020, Collabora, Ltd.
|
2019-03-18 05:52:32 +00:00
|
|
|
# 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.
|
|
|
|
|
2019-04-30 13:33:34 +00:00
|
|
|
add_subdirectory(common)
|
2020-03-03 23:24:39 +00:00
|
|
|
|
2020-04-29 23:11:43 +00:00
|
|
|
if(XRT_FEATURE_OPENXR)
|
2020-03-02 22:18:26 +00:00
|
|
|
add_subdirectory(openxr)
|
|
|
|
endif()
|
2020-03-03 23:24:39 +00:00
|
|
|
|
2019-06-26 11:21:13 +00:00
|
|
|
add_subdirectory(cli)
|
2019-07-21 14:45:50 +00:00
|
|
|
|
2020-04-29 23:11:43 +00:00
|
|
|
if(XRT_HAVE_SDL2)
|
2019-07-21 14:45:50 +00:00
|
|
|
add_subdirectory(gui)
|
|
|
|
endif()
|
2020-04-28 23:56:27 +00:00
|
|
|
|
2020-04-29 23:11:43 +00:00
|
|
|
if(XRT_FEATURE_SERVICE)
|
2020-08-24 15:51:08 +00:00
|
|
|
add_subdirectory(ctl)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if(XRT_FEATURE_SERVICE AND XRT_FEATURE_OPENXR)
|
|
|
|
if(ANDROID)
|
|
|
|
add_subdirectory(service-lib)
|
|
|
|
else()
|
|
|
|
add_subdirectory(service)
|
|
|
|
endif()
|
2020-04-28 23:56:27 +00:00
|
|
|
endif()
|
2020-06-10 13:48:43 +00:00
|
|
|
|
|
|
|
if(XRT_FEATURE_STEAMVR_PLUGIN)
|
|
|
|
add_subdirectory(steamvr_drv)
|
|
|
|
endif()
|