25 lines
841 B
Plaintext
25 lines
841 B
Plaintext
# Boost.uBLAS
|
|
#
|
|
# Copyright (c) 2018 Cem Bassoy
|
|
#
|
|
# Use, modification and distribution is subject to the Boost Software License,
|
|
# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
|
# http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
|
|
# Project settings
|
|
project boost-ublas-tensor-example
|
|
: requirements
|
|
# these tests require C++17
|
|
<cxxstd>11:<build>no
|
|
<define>BOOST_UBLAS_NO_EXCEPTIONS
|
|
<toolset>vacpp:<define>"BOOST_UBLAS_NO_ELEMENT_PROXIES"
|
|
<toolset>gcc:<cxxflags>"-Wall -pedantic -Wextra -std=c++17"
|
|
<toolset>gcc:<cxxflags>"-Wno-unknown-pragmas"
|
|
<toolset>msvc:<cxxflags>"/W4" # == all
|
|
;
|
|
|
|
exe construction_access : construction_access.cpp ;
|
|
exe simple_expressions : simple_expressions.cpp ;
|
|
exe prod_expressions : prod_expressions.cpp ;
|
|
exe einstein_notation : einstein_notation.cpp ; |