3 # Copyright (c) 2018 Cem Bassoy
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)
11 project boost-ublas-tensor-example
13 # these tests require C++17
15 <define>BOOST_UBLAS_NO_EXCEPTIONS
16 <toolset>vacpp:<define>"BOOST_UBLAS_NO_ELEMENT_PROXIES"
17 <toolset>gcc:<cxxflags>"-Wall -pedantic -Wextra -std=c++17"
18 <toolset>gcc:<cxxflags>"-Wno-unknown-pragmas"
19 <toolset>msvc:<cxxflags>"/W4" # == all
22 exe construction_access : construction_access.cpp ;
23 exe simple_expressions : simple_expressions.cpp ;
24 exe prod_expressions : prod_expressions.cpp ;
25 exe einstein_notation : einstein_notation.cpp ;