meson: Add all tracking files

PSVR and PSMV trackers are independant from the drivers, so build them all always.
This commit is contained in:
Jakob Bornecrantz 2019-09-26 21:59:47 +01:00
parent 6081b147fc
commit b8205d77fe

View file

@ -76,22 +76,17 @@ aux_math = declare_dependency(
tracking_srcs = [
'tracking/t_calibration.cpp',
'tracking/t_calibration_opencv.h',
'tracking/t_convert.cpp',
'tracking/t_debug_hsv_filter.cpp',
'tracking/t_debug_hsv_picker.cpp',
'tracking/t_debug_hsv_viewer.cpp',
'tracking/t_hsv_filter.c',
'tracking/t_tracker_psmv.cpp',
'tracking/t_tracker_psvr.cpp',
'tracking/t_tracking.h',
]
if 'psmv' in drivers
tracking_srcs += ['tracking/t_tracker_psmv.cpp']
endif
if 'psvr' in drivers
tracking_srcs += ['tracking/t_tracker_psvr.cpp']
endif
lib_aux_tracking = static_library(
'aux_tracking',
files(tracking_srcs),