mirror of https://github.com/CGAL/cgal
ploum (but obscenities may come to fill in for empty commit messages)
This commit is contained in:
parent
217ed569f2
commit
dc29aebfd2
File diff suppressed because it is too large
Load Diff
|
|
@ -124,6 +124,11 @@ namespace CGAL {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef CGAL_CXX0X
|
||||||
|
using std::decay;
|
||||||
|
#else
|
||||||
|
template<class T> struct decay : boost::remove_cv<typename boost::decay<T>::type> {};
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -3,11 +3,11 @@ all: normal cxx0x
|
||||||
CGAL_INC = -I/home/glisse/repos/cgal/trunk/Algebraic_foundations/include -I/home/glisse/repos/cgal/trunk/STL_Extension/include -I/data/repos/cgal/trunk/Algebraic_foundations/include -I/data/repos/cgal/trunk/STL_Extension/include
|
CGAL_INC = -I/home/glisse/repos/cgal/trunk/Algebraic_foundations/include -I/home/glisse/repos/cgal/trunk/STL_Extension/include -I/data/repos/cgal/trunk/Algebraic_foundations/include -I/data/repos/cgal/trunk/STL_Extension/include
|
||||||
|
|
||||||
normal:
|
normal:
|
||||||
g++ test.cpp -O2 -g -lCGAL -frounding-math -Wall -I. -lgmp -I../../include -I/usr/include/eigen2 -DCGAL_USE_EIGEN ${CGAL_INC}
|
g++ test.cpp -O2 -g -lCGAL -lboost_thread -frounding-math -Wall -I. -lmpfr -lgmp -I../../include -I/opt/eigen -DCGAL_USE_EIGEN ${CGAL_INC}
|
||||||
./a.out
|
./a.out
|
||||||
|
|
||||||
cxx0x:
|
cxx0x:
|
||||||
/usr/lib/gcc-snapshot/bin/g++ -std=c++0x -O2 -g test.cpp -lCGAL -frounding-math -Wall -I. -lgmp -DCGAL_CXX0X -I../../include -I/usr/include/eigen2 -DCGAL_USE_EIGEN ${CGAL_INC}
|
/usr/lib/gcc-snapshot/bin/g++ -std=c++0x -O2 -g test.cpp -lCGAL -lboost_thread -frounding-math -Wall -I. -lmpfr -lgmp -DCGAL_CXX0X -I../../include -I/opt/eigen -DCGAL_USE_EIGEN ${CGAL_INC}
|
||||||
./a.out
|
./a.out
|
||||||
|
|
||||||
#-DBOOST_RESULT_OF_USE_DECLTYPE
|
#-DBOOST_RESULT_OF_USE_DECLTYPE
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue