From b64b9d017267b7a0e057a41171574e7dc9cd428b Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 20 Jul 2016 15:20:14 +0200 Subject: Add a unit test to stress our solvers with Boost.Multiprecision --- test/CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'test/CMakeLists.txt') diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 27a9ec4ac..abc847794 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -327,6 +327,16 @@ if(EIGEN_TEST_EIGEN2) message(WARNING "The Eigen2 test suite has been removed") endif() +# boost MP unit test +find_package(Boost) +if(Boost_FOUND) + include_directories(${Boost_INCLUDE_DIRS}) + ei_add_test(boostmultiprec "" "${Boost_LIBRARIES}") + ei_add_property(EIGEN_TESTED_BACKENDS "Boost.Multiprecision, ") +else() + ei_add_property(EIGEN_MISSING_BACKENDS "Boost.Multiprecision, ") +endif() + # CUDA unit tests option(EIGEN_TEST_CUDA "Enable CUDA support in unit tests" OFF) -- cgit v1.2.3