mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-12 01:45:25 +00:00
b52b3ec649
Unfortunately doesn't fix 32-bit meson CI
66 lines
1,007 B
Meson
66 lines
1,007 B
Meson
# Copyright 2019-2020, Collabora, Ltd.
|
|
# SPDX-License-Identifier: BSL-1.0
|
|
|
|
driver_libs = []
|
|
driver_deps = []
|
|
|
|
if libusb.found()
|
|
driver_deps += [libusb]
|
|
endif
|
|
|
|
if libjpeg.found()
|
|
driver_deps += [libjpeg]
|
|
endif
|
|
|
|
if 'dummy' in drivers
|
|
driver_libs += [lib_drv_dummy]
|
|
endif
|
|
|
|
if 'hdk' in drivers
|
|
driver_libs += [lib_drv_hdk]
|
|
endif
|
|
|
|
if 'hydra' in drivers
|
|
driver_libs += [lib_drv_hydra]
|
|
endif
|
|
|
|
if 'ns' in drivers
|
|
driver_libs += [lib_drv_ns]
|
|
endif
|
|
|
|
if 'ohmd' in drivers
|
|
driver_libs += [lib_drv_ohmd]
|
|
endif
|
|
|
|
if 'psmv' in drivers
|
|
driver_libs += [lib_drv_psmv]
|
|
endif
|
|
|
|
if 'psvr' in drivers
|
|
driver_libs += [lib_drv_psvr]
|
|
endif
|
|
|
|
if 'rs' in drivers
|
|
driver_libs += [lib_drv_rs]
|
|
driver_deps += [rs]
|
|
endif
|
|
|
|
if 'v4l2' in drivers
|
|
driver_libs += [lib_drv_v4l2]
|
|
driver_deps += [v4l2]
|
|
endif
|
|
|
|
if 'vive' in drivers
|
|
driver_libs += [lib_drv_vive]
|
|
endif
|
|
|
|
subdir('common')
|
|
subdir('openxr')
|
|
subdir('cli')
|
|
|
|
if get_option('gui').enabled() or (get_option('gui').auto() and sdl2.found())
|
|
subdir('gui')
|
|
endif
|
|
|
|
subdir('service')
|