mirror of
https://github.com/boostorg/ublas.git
synced 2026-01-19 04:42:15 +00:00
27 lines
1.0 KiB
Plaintext
27 lines
1.0 KiB
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)
|
|
|
|
import ../../../../config/checks/config : requires ;
|
|
|
|
# Project settings
|
|
project boost-ublas-tensor-example
|
|
: requirements
|
|
<define>BOOST_UBLAS_NO_EXCEPTIONS
|
|
<toolset>vacpp:<define>"BOOST_UBLAS_NO_ELEMENT_PROXIES"
|
|
<toolset>gcc:<cxxflags>"-Wall -pedantic -Wextra -Wno-unknown-pragmas"
|
|
<toolset>clang:<cxxflags>"-Wall -pedantic -Wextra -Wno-unknown-pragmas"
|
|
<toolset>msvc:<cxxflags>"/W4" # == all
|
|
[ requires cxx17_if_constexpr ]
|
|
;
|
|
|
|
exe access_tensor : access_tensor.cpp ;
|
|
exe simple_expressions : simple_expressions.cpp ;
|
|
exe multiply_tensors_product_function : multiply_tensors_product_function.cpp ;
|
|
exe multiply_tensors_einstein_notation : multiply_tensors_einstein_notation.cpp ;
|
|
exe instantiate_tensor : instantiate_tensor.cpp ;
|