Jamfile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # Boost.uBLAS
  2. #
  3. # Copyright (c) 2018 Cem Bassoy
  4. #
  5. # Use, modification and distribution is subject to the Boost Software License,
  6. # Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  7. # http://www.boost.org/LICENSE_1_0.txt)
  8. project boost/ublas/test/tensor
  9. : requirements
  10. # these tests require C++17
  11. <cxxstd>11:<build>no
  12. <toolset>gcc:<cxxflags>"-Wall -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-but-set-variable"
  13. ;
  14. alias unit_test_framework
  15. : # sources
  16. /boost//unit_test_framework
  17. ;
  18. # make aliases explicit so the libraries will only be built when requested
  19. explicit unit_test_framework ;
  20. test-suite boost-ublas-tensor-test
  21. :
  22. [ run test_tensor.cpp
  23. test_strides.cpp
  24. test_operators_comparison.cpp
  25. test_operators_arithmetic.cpp
  26. test_multiplication.cpp
  27. test_multi_index_utility.cpp
  28. test_multi_index.cpp
  29. test_functions.cpp
  30. test_extents.cpp
  31. test_expression_evaluation.cpp
  32. test_einstein_notation.cpp
  33. test_algorithms.cpp
  34. test_tensor_matrix_vector.cpp
  35. unit_test_framework ]
  36. ;