mirror of https://github.com/CGAL/cgal
Revert last commit (commited by error)
This commit is contained in:
parent
648472bdac
commit
f0118a1311
|
|
@ -1 +1 @@
|
|||
GPL (v3 or later)
|
||||
GPL (v3 or later)
|
||||
|
|
|
|||
|
|
@ -988,9 +988,9 @@ You must disable CGAL_ENABLE_CHECK_HEADERS.")
|
|||
foreach (package ${CGAL_CONFIGURED_PACKAGES_NAMES})
|
||||
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/../${package}/include)
|
||||
set(depends "")
|
||||
file(GLOB ${package}_HEADERS
|
||||
file(GLOB_RECURSE ${package}_HEADERS
|
||||
RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}/../${package}/include"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/../${package}/include/CGAL/*.h")
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/../${package}/include/*.h")
|
||||
foreach(header ${${package}_HEADERS})
|
||||
string(REPLACE "/" "__" header2 "${header}")
|
||||
string(REPLACE "." "_" header2 "${header2}")
|
||||
|
|
|
|||
|
|
@ -21,6 +21,10 @@
|
|||
#include <iostream>
|
||||
#include <cassert>
|
||||
|
||||
#ifdef NDEBUG
|
||||
# error The test-suite needs no NDEBUG defined
|
||||
#endif
|
||||
|
||||
const double epsilon = 0.001;
|
||||
|
||||
struct randomint {
|
||||
|
|
|
|||
|
|
@ -10,6 +10,10 @@
|
|||
#include <iostream>
|
||||
#include <cassert>
|
||||
|
||||
#ifdef NDEBUG
|
||||
# error The test-suite needs no NDEBUG defined
|
||||
#endif
|
||||
|
||||
const double epsilon = 0.001;
|
||||
|
||||
struct randomint {
|
||||
|
|
|
|||
|
|
@ -57,8 +57,8 @@ dihedral_angle(const typename K::Point_3& a,
|
|||
|
||||
const Vector_3 abad = cross_product(ab,ad);
|
||||
const double x = CGAL::to_double(scalar_product(cross_product(ab,ac), abad));
|
||||
const double l_ab = CGAL::sqrt(CGAL::to_double(sq_distance(a,b)));
|
||||
const double y = l_ab * CGAL::to_double(scalar_product(ac,abad));
|
||||
const FT l_ab = CGAL::sqrt(sq_distance(a,b));
|
||||
const double y = CGAL::to_double(l_ab * scalar_product(ac,abad));
|
||||
|
||||
return FT(std::atan2(y, x) * 180 / CGAL_PI );
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,6 +13,4 @@ fi
|
|||
[ ! -x cgal_test_with_cmake ] && echo "No cgal_test_with_cmake in current directory, creating it" && create_cgal_test_with_cmake ${in_demo}
|
||||
|
||||
./cgal_test_with_cmake $@
|
||||
RESULT=$?
|
||||
cat error.txt
|
||||
exit $RESULT
|
||||
|
|
|
|||
|
|
@ -81,7 +81,6 @@ configure()
|
|||
echo "Configuring... "
|
||||
|
||||
if eval 'cmake "\$CMAKE_GENERATOR" -DRUNNING_CGAL_AUTO_TEST=TRUE \\
|
||||
-DCMAKE_BUILD_TYPE=Debug \\
|
||||
-DCGAL_DIR="\$CGAL_DIR" \\
|
||||
.' ; then
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue