mirror of https://github.com/CGAL/cgal
Adapt the Arrangement_on_surface_2 testsuite to LEDA
This commit is contained in:
parent
d0cbf82b04
commit
6a2b92f7e7
|
|
@ -70,7 +70,7 @@ set(CGAL_GMPZ_NT 14)
|
|||
set(CORE_INT_NT 15)
|
||||
set(CORE_RAT_NT 16)
|
||||
|
||||
if($ENV{CGAL_DISABLE_GMP})
|
||||
if(CGAL_DISABLE_GMP)
|
||||
set(CGAL_DISABLE_GMP ON)
|
||||
endif()
|
||||
|
||||
|
|
@ -898,7 +898,7 @@ endfunction()
|
|||
#---------------------------------------------------------------------#
|
||||
function(test_polycurve_conic_traits)
|
||||
# echo polycurve test starting
|
||||
if($ENV{CGAL_DISABLE_GMP})
|
||||
if(CGAL_DISABLE_GMP)
|
||||
MESSAGE(STATUS "test_polycurve_conic_traits requires CORE and will not be executed")
|
||||
return()
|
||||
endif()
|
||||
|
|
@ -969,7 +969,7 @@ endfunction()
|
|||
# polycurve bezier traits
|
||||
#---------------------------------------------------------------------#
|
||||
function(test_polycurve_bezier_traits)
|
||||
if($ENV{CGAL_DISABLE_GMP})
|
||||
if(CGAL_DISABLE_GMP)
|
||||
MESSAGE(STATUS "test_polycurve_bezier_traits requires CORE and will not be executed")
|
||||
return()
|
||||
endif()
|
||||
|
|
@ -1078,7 +1078,7 @@ endfunction()
|
|||
# conic traits
|
||||
#---------------------------------------------------------------------#
|
||||
function(test_conic_traits)
|
||||
if($ENV{CGAL_DISABLE_GMP})
|
||||
if(CGAL_DISABLE_GMP)
|
||||
MESSAGE(STATUS "test_conic_traits requires CORE and will not be executed")
|
||||
return()
|
||||
endif()
|
||||
|
|
@ -1209,7 +1209,7 @@ endfunction()
|
|||
# bezier traits
|
||||
#---------------------------------------------------------------------#
|
||||
function(test_bezier_traits)
|
||||
if($ENV{CGAL_DISABLE_GMP})
|
||||
if(CGAL_DISABLE_GMP)
|
||||
MESSAGE(STATUS "test_bezier_traits requires CORE and will not be executed")
|
||||
return()
|
||||
endif()
|
||||
|
|
@ -1256,7 +1256,7 @@ endfunction()
|
|||
# rational arc traits
|
||||
#---------------------------------------------------------------------#
|
||||
function(test_rational_arc_traits)
|
||||
if($ENV{CGAL_DISABLE_GMP})
|
||||
if(CGAL_DISABLE_GMP)
|
||||
MESSAGE(STATUS "test_rational_arc_traits requires CORE and will not be executed")
|
||||
return()
|
||||
endif()
|
||||
|
|
@ -1281,7 +1281,10 @@ endfunction()
|
|||
#---------------------------------------------------------------------#
|
||||
function(test_algebraic_traits_gmp)
|
||||
#TODO: Adapt
|
||||
|
||||
if(CGAL_DISABLE_GMP)
|
||||
MESSAGE(STATUS "test_traits_algebraic_traits_gmp requires GMP and will not be executed")
|
||||
return()
|
||||
endif()
|
||||
set(nt ${CGAL_GMPZ_NT})
|
||||
set(kernel ${UNIVARIATE_ALGEBRAIC_KERNEL})
|
||||
set(geom_traits ${ALGEBRAIC_GEOM_TRAITS})
|
||||
|
|
@ -1320,7 +1323,7 @@ endfunction()
|
|||
#---------------------------------------------------------------------#
|
||||
function(test_algebraic_traits_core)
|
||||
#TODO: Adapt
|
||||
if($ENV{CGAL_DISABLE_GMP})
|
||||
if(CGAL_DISABLE_GMP)
|
||||
MESSAGE(STATUS "test_algebraic_traits_core requires CORE and will not be executed")
|
||||
return()
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Reference in New Issue