1 # Copyright 2008-2022 Emil Dotchevski and Reverge Studios, Inc.
3 # Distributed under the Boost Software License, Version 1.0. (See accompanying
4 # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
11 variant debug_qvm_hpp : debug : <define>BOOST_QVM_TEST_SINGLE_HEADER="\\\"qvm.hpp\\\"" ;
12 variant release_qvm_hpp : release : <define>BOOST_QVM_TEST_SINGLE_HEADER="\\\"qvm.hpp\\\"" ;
13 variant debug_qvm_lite_hpp : debug : <define>BOOST_QVM_TEST_SINGLE_HEADER="\\\"qvm_lite.hpp\\\"" <define>BOOST_QVM_TEST_SINGLE_HEADER_SWIZZLE=\"<boost/qvm/swizzle.hpp>\" ;
14 variant release_qvm_lite_hpp : release : <define>BOOST_QVM_TEST_SINGLE_HEADER="\\\"qvm_lite.hpp\\\"" <define>BOOST_QVM_TEST_SINGLE_HEADER_SWIZZLE=\"<boost/qvm/swizzle.hpp>\" ;
20 headers-compile-test ( headers * : requirements * : target-tag ? )
23 for local header in $(headers)
25 local target = hdr$(target-tag)-$(header:D=) ;
26 compile header-test.cpp : $(requirements) <define>REVERGE_HEADER=\"\<boost/qvm/$(header:B).hpp\>\" <dependency>$(header) : $(target) ;
27 test-names += $(target) ;
29 alias hdrtest$(target-tag) : $(test-names) ;
32 headers-compile-test [ glob ../include/boost/qvm/*.hpp ]
40 run mat_traits_array_test.cpp ;
41 run vec_traits_array_test.cpp ;
42 run quat_traits_array_test.cpp ;
44 run access_m_test.cpp ;
45 compile-fail access_m_fail1.cpp ;
46 compile-fail access_m_fail2.cpp ;
48 run access_q_test.cpp ;
49 compile-fail access_q_fail.cpp ;
51 run access_v_test.cpp ;
52 compile-fail access_v_fail1.cpp ;
53 compile-fail access_v_fail2.cpp ;
57 run to_string_test.cpp ;
61 run div_eq_vs_test.cpp ;
66 run mag_sqr_v_test.cpp ;
67 run minus_v_test.cpp ;
68 run minus_eq_vv_test.cpp ;
69 run minus_vv_test.cpp ;
70 run mul_eq_vs_test.cpp ;
74 run normalize_v_test.cpp ;
75 run plus_eq_vv_test.cpp ;
76 run plus_vv_test.cpp ;
77 run scalar_cast_v_test.cpp ;
78 run vec_index_test.cpp ;
79 run vec_register_test.cpp ;
82 run determinant_test.cpp ;
83 run div_eq_ms_test.cpp ;
86 run minus_m_test.cpp ;
87 run minus_eq_mm_test.cpp ;
88 run minus_mm_test.cpp ;
89 run mul_eq_mm_test.cpp ;
90 run mul_eq_ms_test.cpp ;
95 run inverse_m_test.cpp ;
96 run plus_eq_mm_test.cpp ;
97 run plus_mm_test.cpp ;
98 run scalar_cast_m_test.cpp ;
99 run mat_index_test.cpp ;
101 run cmp_qq_test.cpp ;
102 run conjugate_test.cpp ;
103 run normalize_q_test.cpp ;
104 run div_eq_qs_test.cpp ;
105 run div_qs_test.cpp ;
106 run dot_qq_test.cpp ;
108 run inverse_q_test.cpp ;
110 run mag_sqr_q_test.cpp ;
111 run minus_q_test.cpp ;
112 run minus_eq_qq_test.cpp ;
113 run minus_qq_test.cpp ;
114 run mul_eq_qs_test.cpp ;
115 run mul_qs_test.cpp ;
116 run mul_qv_test.cpp ;
117 run mul_qq_test.cpp ;
118 run mul_eq_qq_test.cpp ;
119 run plus_eq_qq_test.cpp ;
120 run plus_qq_test.cpp ;
121 run scalar_cast_q_test.cpp ;
124 run convert_to_test.cpp ;
126 run rot_mat_test.cpp ;
127 run rot_quat_test.cpp ;
128 run rotx_mat_test.cpp ;
129 run rotx_quat_test.cpp ;
130 run roty_mat_test.cpp ;
131 run roty_quat_test.cpp ;
132 run rotz_mat_test.cpp ;
133 run rotz_quat_test.cpp ;
135 run zero_vec_test.cpp ;
136 run zero_mat_test.cpp ;
137 run zero_quat_test.cpp ;
138 run identity_mat_test.cpp ;
139 run identity_quat_test.cpp ;
142 run col_mat_test.cpp ;
143 run neg_col_test.cpp ;
144 run neg_row_test.cpp ;
145 run del_col_test.cpp ;
146 run del_row_test.cpp ;
147 run del_row_col_test.cpp ;
148 run swap_cols_test.cpp ;
149 run swap_rows_test.cpp ;
151 run diag_mat_test.cpp ;
153 run row_mat_test.cpp ;
154 run transpose_test.cpp ;
155 run translation_test.cpp ;
156 run translation_mat_test.cpp ;
158 compile-fail swizzle_const_fail.cpp ;
159 run swizzle2_test2.cpp ;
160 run swizzle2_test3.cpp ;
161 run swizzle2_test4.cpp ;
162 run swizzle2_test.cpp ;
163 run swizzle3_test2.cpp ;
164 run swizzle3_test3.cpp ;
165 run swizzle3_test4.cpp ;
166 run swizzle3_test.cpp ;
167 run swizzle4_test2.cpp ;
168 run swizzle4_test3.cpp ;
169 run swizzle4_test4.cpp ;
170 run swizzle4_test.cpp ;
172 compile deduce_scalar_test.cpp ;
173 run deduce_scalar_mq_test.cpp ;
174 run deduce_scalar_mv_test.cpp ;
175 compile-fail deduce_scalar_fail.cpp ;
177 compile deduce_mat_test.cpp ;
178 compile deduce_quat_test.cpp ;
179 compile deduce_vec_test.cpp ;
181 run interop_test.cpp ;
183 run transform_test.cpp ;
185 run projection_test.cpp ;
187 compile scalar_traits_test.cpp ;