monado/src/meson.build

27 lines
863 B
Meson
Raw Normal View History

2019-09-24 13:43:43 +00:00
# Copyright 2019, Collabora, Ltd.
# SPDX-License-Identifier: BSL-1.0
conf_data = configuration_data()
conf_data.set('XRT_BUILD_TRACKING', build_tracking)
conf_data.set('XRT_BUILD_DRIVER_HDK', 'hdk' in drivers)
conf_data.set('XRT_BUILD_DRIVER_HYDRA', 'hydra' in drivers)
conf_data.set('XRT_BUILD_DRIVER_OHMD', 'ohmd' in drivers)
conf_data.set('XRT_BUILD_DRIVER_PSMV', 'psmv' in drivers)
conf_data.set('XRT_BUILD_DRIVER_PSVR', 'psvr' in drivers)
conf_data.set('XRT_BUILD_DRIVER_V4L2', 'v4l2' in drivers)
conf_data.set('XRT_BUILD_DRIVER_VIVE', 'vive' in drivers)
2019-09-24 13:43:43 +00:00
targets_enabled_h = configure_file(
input: 'targets_enabled_drivers.h.meson_in',
output: 'targets_enabled_drivers.h',
configuration: conf_data,
)
targets_enabled = declare_dependency(
sources: targets_enabled_h,
include_directories: include_directories('.'),
)
subdir('external')
subdir('xrt')