db8b39ae27
* Change eigen algebra to support Eigen>=3.3 An internal change in Eigen made odeint incompatible with Eigen versions >=3.3. This commit changes odeint in such a way that it does not rely on the changed behvior, so it is now compatible with old and new Eigen. Fixes #194 * Remove obsolete Eigen fail compile test * Remove compile-fail test for C++98 unwrap_reference
36 lines
849 B
Plaintext
36 lines
849 B
Plaintext
# Copyright 2012-2013 Karsten Ahnert
|
|
# Copyright 2012-2013 Mario Mulansky
|
|
# Distributed under 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)
|
|
|
|
# bring in rules for testing
|
|
|
|
|
|
import testing ;
|
|
import os ;
|
|
|
|
use-project boost : $(BOOST_ROOT) ;
|
|
|
|
local EIGEN_ROOT = [ os.environ EIGEN_ROOT ] ;
|
|
|
|
project
|
|
: requirements
|
|
<library>/boost/test//boost_unit_test_framework
|
|
<define>BOOST_ALL_NO_LIB=1
|
|
<include>$(EIGEN_ROOT)
|
|
<include>../../test
|
|
<link>static
|
|
# <cxxflags>-D_SCL_SECURE_NO_WARNINGS
|
|
;
|
|
|
|
test-suite "odeint"
|
|
:
|
|
[ compile is_resizeable.cpp ]
|
|
[ run same_size.cpp ]
|
|
[ run resize.cpp ]
|
|
[ run runge_kutta4.cpp ]
|
|
[ run runge_kutta_dopri5.cpp ]
|
|
[ run integrate.cpp ]
|
|
: <testing.launcher>valgrind
|
|
;
|