mirror of https://github.com/CGAL/cgal
default arithmetic kernel when only boost mp is here
This commit is contained in:
parent
3564fd1851
commit
00219bc016
|
|
@ -59,6 +59,15 @@ typedef GMP_arithmetic_kernel Arithmetic_kernel;
|
||||||
#endif // CGAL_USE_GMP
|
#endif // CGAL_USE_GMP
|
||||||
#endif // CGAL_HAS_DEFAULT_ARITHMETIC_KERNEL
|
#endif // CGAL_HAS_DEFAULT_ARITHMETIC_KERNEL
|
||||||
|
|
||||||
|
#ifndef CGAL_HAS_DEFAULT_ARITHMETIC_KERNEL
|
||||||
|
#include <CGAL/BOOST_MP_arithmetic_kernel.h>
|
||||||
|
#if defined(CGAL_HAS_BOOST_MP_ARITHMETIC_KERNEL)
|
||||||
|
namespace CGAL{
|
||||||
|
typedef BOOST_cpp_arithmetic_kernel Arithmetic_kernel;
|
||||||
|
}// namespace CGAL
|
||||||
|
#define CGAL_HAS_DEFAULT_ARITHMETIC_KERNEL 1
|
||||||
|
#endif // CGAL_USE_BOOST_MP
|
||||||
|
#endif // CGAL_HAS_DEFAULT_ARITHMETIC_KERNEL
|
||||||
|
|
||||||
// Macro to snap typedefs in Arithmetic_kernel
|
// Macro to snap typedefs in Arithmetic_kernel
|
||||||
#define CGAL_SNAP_ARITHMETIC_KERNEL_TYPEDEFS(AT) \
|
#define CGAL_SNAP_ARITHMETIC_KERNEL_TYPEDEFS(AT) \
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,8 @@
|
||||||
//#include <boost/multiprecision/gmp.hpp>
|
//#include <boost/multiprecision/gmp.hpp>
|
||||||
//#endif
|
//#endif
|
||||||
|
|
||||||
|
#define CGAL_HAS_BOOST_MP_ARITHMETIC_KERNEL
|
||||||
|
|
||||||
// FIXME: the could be several kernels based on Boost.Multiprecision.
|
// FIXME: the could be several kernels based on Boost.Multiprecision.
|
||||||
|
|
||||||
namespace CGAL {
|
namespace CGAL {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue