Jamfile 841 B

12345678910111213141516171819202122232425
  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 settings
  9. project boost-ublas-tensor-example
  10. : requirements
  11. # these tests require C++17
  12. <cxxstd>11:<build>no
  13. <define>BOOST_UBLAS_NO_EXCEPTIONS
  14. <toolset>vacpp:<define>"BOOST_UBLAS_NO_ELEMENT_PROXIES"
  15. <toolset>gcc:<cxxflags>"-Wall -pedantic -Wextra -std=c++17"
  16. <toolset>gcc:<cxxflags>"-Wno-unknown-pragmas"
  17. <toolset>msvc:<cxxflags>"/W4" # == all
  18. ;
  19. exe construction_access : construction_access.cpp ;
  20. exe simple_expressions : simple_expressions.cpp ;
  21. exe prod_expressions : prod_expressions.cpp ;
  22. exe einstein_notation : einstein_notation.cpp ;