mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-04 06:06:17 +00:00
t/hand: Add meson build for mercury
This commit is contained in:
parent
02e5e7be4a
commit
6c9f1f4083
|
@ -93,7 +93,7 @@ if 'handtracking' in drivers
|
|||
),
|
||||
include_directories: [xrt_include, cjson_include],
|
||||
dependencies: [aux],
|
||||
link_with: [lib_t_hand_async, lib_t_ht_old_rgb],
|
||||
link_with: [lib_t_hand_async, lib_t_ht_old_rgb, t_ht_mercury],
|
||||
# build_by_default: 'handtracking' in drivers,
|
||||
)
|
||||
endif
|
||||
|
|
28
src/xrt/tracking/hand/mercury/meson.build
Normal file
28
src/xrt/tracking/hand/mercury/meson.build
Normal file
|
@ -0,0 +1,28 @@
|
|||
# Copyright 2022, Collabora, Ltd.
|
||||
# SPDX-License-Identifier: BSL-1.0
|
||||
|
||||
|
||||
# Mercury hand tracking library!
|
||||
|
||||
t_ht_mercury_kine = static_library(
|
||||
't_ht_mercury_kine',
|
||||
files(
|
||||
'kine/kinematic_interface.hpp',
|
||||
'kine/kinematic_main.cpp'
|
||||
),
|
||||
include_directories: [xrt_include, cjson_include],
|
||||
dependencies: [aux, eigen3]
|
||||
)
|
||||
|
||||
t_ht_mercury = static_library(
|
||||
't_ht_mercury',
|
||||
files(
|
||||
'hg_interface.h',
|
||||
'hg_model.hpp',
|
||||
'hg_sync.cpp',
|
||||
'hg_sync.hpp',
|
||||
),
|
||||
link_with: [t_ht_mercury_kine],
|
||||
include_directories: [xrt_include, cjson_include],
|
||||
dependencies: [aux, onnxruntime, opencv, eigen3]
|
||||
)
|
|
@ -2,7 +2,7 @@
|
|||
# SPDX-License-Identifier: BSL-1.0
|
||||
|
||||
subdir('old_rgb')
|
||||
|
||||
subdir('mercury')
|
||||
|
||||
###
|
||||
# Async wrapper around sync helper.
|
||||
|
|
Loading…
Reference in a new issue