mv the mpreal copy in its own folder

This commit is contained in:
Gael Guennebaud 2011-08-19 15:08:29 +02:00
parent 79ad55a901
commit ea4a1960f0
7 changed files with 6 additions and 4 deletions

View File

@ -45,6 +45,8 @@ namespace Eigen {
* via the <a href="http://www.holoborodko.com/pavel/mpfr">MPFR C++</a>
* library which itself is built upon <a href="http://www.mpfr.org/">MPFR</a>/<a href="http://gmplib.org/">GMP</a>.
*
* You can find a copy of MPFR C++ that is known to be compatible in the unsupported/test/mpreal folder.
*
* Here is an example:
*
\code

View File

@ -82,7 +82,7 @@ ei_add_test(FFT)
find_package(MPFR 2.3.0)
find_package(GMP)
if(MPFR_FOUND)
include_directories(${MPFR_INCLUDES})
include_directories(${MPFR_INCLUDES} ./mpreal)
ei_add_property(EIGEN_TESTED_BACKENDS "MPFR C++, ")
set(EIGEN_MPFR_TEST_LIBRARIES ${MPFR_LIBRARIES} ${GMP_LIBRARIES})
ei_add_test(mpreal_support "" "${EIGEN_MPFR_TEST_LIBRARIES}" )

View File

@ -42,6 +42,6 @@ void test_mpreal_support()
}
extern "C" {
#include "dlmalloc.c"
#include "mpreal/dlmalloc.c"
}
#include "mpreal.cpp"
#include "mpreal/mpreal.cpp"