The open source OpenXR runtime
1# Copyright 2019-2022, Collabora, Ltd.
2# SPDX-License-Identifier: BSL-1.0
3
4xrt_optimized_math_flags()
5
6add_library(
7 aux_math STATIC
8 m_api.h
9 m_base.cpp
10 m_clock_tracking.c
11 m_clock_tracking.h
12 m_documentation.hpp
13 m_eigen_interop.hpp
14 m_filter_fifo.c
15 m_filter_fifo.h
16 m_filter_one_euro.c
17 m_filter_one_euro.h
18 m_hash.cpp
19 m_imu_3dof.c
20 m_imu_3dof.h
21 m_imu_pre.c
22 m_imu_pre.h
23 m_lowpass_float.cpp
24 m_lowpass_float.h
25 m_lowpass_float.hpp
26 m_lowpass_float_vector.hpp
27 m_lowpass_integer.cpp
28 m_lowpass_integer.h
29 m_lowpass_integer.hpp
30 m_matrix_2x2.h
31 m_matrix_4x4_f64.h
32 m_matrix_projection.cpp
33 m_optics.c
34 m_permutation.c
35 m_permutation.h
36 m_predict.c
37 m_predict.h
38 m_quatexpmap.cpp
39 m_rational.hpp
40 m_relation_history.cpp
41 m_relation_history.h
42 m_space.cpp
43 m_space.h
44 m_vec2.h
45 m_vec3.h
46 )
47target_link_libraries(
48 aux_math
49 PUBLIC aux-includes aux_util Eigen3::Eigen
50 PRIVATE xrt-optimized-math
51 )
52
53if(MSVC)
54 get_target_property(options aux_math COMPILE_OPTIONS)
55 message(STATUS "COMPILE_OPTIONS: ${options}")
56endif()