Jamfile.v2 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. # Copyright (c) 2008-2016 Emil Dotchevski and Reverge Studios, Inc.
  2. # Distributed under the Boost Software License, Version 1.0. (See accompanying
  3. # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  4. import testing ;
  5. import path ;
  6. rule
  7. headers-compile-test ( headers * : requirements * : target-tag ? )
  8. {
  9. local test-names = ;
  10. for local header in $(headers)
  11. {
  12. local target = hdr$(target-tag)-$(header:D=) ;
  13. compile header-test.cpp : $(requirements) <define>REVERGE_HEADER=\"\<boost/qvm/$(header:B).hpp\>\" <dependency>$(header) : $(target) ;
  14. test-names += $(target) ;
  15. }
  16. alias hdrtest$(target-tag) : $(test-names) ;
  17. }
  18. headers-compile-test [ glob ../include/boost/qvm/*.hpp ]
  19. : # requirements
  20. : # target-tag
  21. qvm
  22. ;
  23. run mat_traits_array_test.cpp ;
  24. run vec_traits_array_test.cpp ;
  25. run quat_traits_array_test.cpp ;
  26. run access_m_test.cpp ;
  27. compile-fail access_m_fail1.cpp ;
  28. compile-fail access_m_fail2.cpp ;
  29. run access_q_test.cpp ;
  30. compile-fail access_q_fail.cpp ;
  31. run access_v_test.cpp ;
  32. compile-fail access_v_fail1.cpp ;
  33. compile-fail access_v_fail2.cpp ;
  34. run assign_test.cpp ;
  35. run to_string_test.cpp ;
  36. run cmp_vv_test.cpp ;
  37. run cross_test.cpp ;
  38. run div_eq_vs_test.cpp ;
  39. run div_vs_test.cpp ;
  40. run dot_vv_test.cpp ;
  41. run eq_vv_test.cpp ;
  42. run mag_v_test.cpp ;
  43. run mag_sqr_v_test.cpp ;
  44. run minus_v_test.cpp ;
  45. run minus_eq_vv_test.cpp ;
  46. run minus_vv_test.cpp ;
  47. run mul_eq_vs_test.cpp ;
  48. run mul_vs_test.cpp ;
  49. run mul_sv_test.cpp ;
  50. run mul_vm_test.cpp ;
  51. run normalize_v_test.cpp ;
  52. run plus_eq_vv_test.cpp ;
  53. run plus_vv_test.cpp ;
  54. run scalar_cast_v_test.cpp ;
  55. run vec_index_test.cpp ;
  56. run vec_register_test.cpp ;
  57. run cmp_mm_test.cpp ;
  58. run determinant_test.cpp ;
  59. run div_eq_ms_test.cpp ;
  60. run div_ms_test.cpp ;
  61. run eq_mm_test.cpp ;
  62. run minus_m_test.cpp ;
  63. run minus_eq_mm_test.cpp ;
  64. run minus_mm_test.cpp ;
  65. run mul_eq_mm_test.cpp ;
  66. run mul_eq_ms_test.cpp ;
  67. run mul_mm_test.cpp ;
  68. run mul_ms_test.cpp ;
  69. run mul_sm_test.cpp ;
  70. run mul_mv_test.cpp ;
  71. run inverse_m_test.cpp ;
  72. run plus_eq_mm_test.cpp ;
  73. run plus_mm_test.cpp ;
  74. run scalar_cast_m_test.cpp ;
  75. run mat_index_test.cpp ;
  76. run cmp_qq_test.cpp ;
  77. run conjugate_test.cpp ;
  78. run normalize_q_test.cpp ;
  79. run div_eq_qs_test.cpp ;
  80. run div_qs_test.cpp ;
  81. run dot_qq_test.cpp ;
  82. run eq_qq_test.cpp ;
  83. run inverse_q_test.cpp ;
  84. run mag_q_test.cpp ;
  85. run mag_sqr_q_test.cpp ;
  86. run minus_q_test.cpp ;
  87. run minus_eq_qq_test.cpp ;
  88. run minus_qq_test.cpp ;
  89. run mul_eq_qs_test.cpp ;
  90. run mul_qs_test.cpp ;
  91. run mul_qv_test.cpp ;
  92. run mul_qq_test.cpp ;
  93. run mul_eq_qq_test.cpp ;
  94. run plus_eq_qq_test.cpp ;
  95. run plus_qq_test.cpp ;
  96. run scalar_cast_q_test.cpp ;
  97. run slerp_test.cpp ;
  98. run convert_to_test.cpp ;
  99. run rot_mat_test.cpp ;
  100. run rot_quat_test.cpp ;
  101. run rotx_mat_test.cpp ;
  102. run rotx_quat_test.cpp ;
  103. run roty_mat_test.cpp ;
  104. run roty_quat_test.cpp ;
  105. run rotz_mat_test.cpp ;
  106. run rotz_quat_test.cpp ;
  107. run zero_vec_test.cpp ;
  108. run zero_mat_test.cpp ;
  109. run zero_quat_test.cpp ;
  110. run identity_mat_test.cpp ;
  111. run identity_quat_test.cpp ;
  112. run col_test.cpp ;
  113. run col_mat_test.cpp ;
  114. run neg_col_test.cpp ;
  115. run neg_row_test.cpp ;
  116. run del_col_test.cpp ;
  117. run del_row_test.cpp ;
  118. run del_row_col_test.cpp ;
  119. run swap_cols_test.cpp ;
  120. run swap_rows_test.cpp ;
  121. run diag_test.cpp ;
  122. run diag_mat_test.cpp ;
  123. run row_test.cpp ;
  124. run row_mat_test.cpp ;
  125. run transpose_test.cpp ;
  126. run translation_test.cpp ;
  127. run translation_mat_test.cpp ;
  128. compile-fail swizzle_const_fail.cpp ;
  129. run swizzle2_test2.cpp ;
  130. run swizzle2_test3.cpp ;
  131. run swizzle2_test4.cpp ;
  132. run swizzle2_test.cpp ;
  133. run swizzle3_test2.cpp ;
  134. run swizzle3_test3.cpp ;
  135. run swizzle3_test4.cpp ;
  136. run swizzle3_test.cpp ;
  137. run swizzle4_test2.cpp ;
  138. run swizzle4_test3.cpp ;
  139. run swizzle4_test4.cpp ;
  140. run swizzle4_test.cpp ;
  141. compile deduce_scalar_test.cpp ;
  142. compile-fail deduce_scalar_fail1.cpp ;
  143. compile-fail deduce_scalar_fail2.cpp ;
  144. compile-fail deduce_scalar_fail3.cpp ;
  145. compile deduce_matrix_test.cpp ;
  146. compile deduce_vector_test.cpp ;
  147. run interop_test.cpp ;
  148. run transform_test.cpp ;
  149. run projection_test.cpp ;
  150. compile scalar_traits_test.cpp ;