Skip to content

Commit

Permalink
remove alternatives and add for convex hull
Browse files Browse the repository at this point in the history
  • Loading branch information
barendgehrels committed Feb 24, 2024
1 parent 6a62c44 commit e1e89e7
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 36 deletions.
1 change: 1 addition & 0 deletions test/algorithms/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

add_subdirectory(area)
add_subdirectory(buffer)
add_subdirectory(convex_hull)
add_subdirectory(detail)
add_subdirectory(overlay)
add_subdirectory(relate)
Expand Down
14 changes: 14 additions & 0 deletions test/algorithms/convex_hull/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Boost.Geometry
# Copyright (c) 2024 Barend Gehrels, Amsterdam, the Netherlands.
# Use, modification and distribution is subject to the Boost Software License,
# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)

foreach(item IN ITEMS
convex_hull
convex_hull_multi
convex_hull_robust
convex_hull_sph_geo
)
boost_geometry_add_unit_test("algorithms" ${item})
endforeach()
9 changes: 0 additions & 9 deletions test/algorithms/set_operations/difference/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,6 @@ foreach(item IN ITEMS
target_compile_definitions(${BOOST_GEOMETRY_UNIT_TEST_NAME} PRIVATE BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE)
endforeach()

foreach(item IN ITEMS
difference
difference_multi
)
boost_geometry_add_unit_test("algorithms_alternative" ${item})
target_compile_definitions(${BOOST_GEOMETRY_UNIT_TEST_NAME} PRIVATE BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE)
target_compile_definitions(${BOOST_GEOMETRY_UNIT_TEST_NAME} PRIVATE BOOST_GEOMETRY_ROBUSTNESS_ALTERNATIVE)
endforeach()

foreach(item IN ITEMS
difference_gc
difference_l_a_sph
Expand Down
16 changes: 0 additions & 16 deletions test/algorithms/set_operations/intersection/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,6 @@ foreach(item IN ITEMS
target_compile_definitions(${BOOST_GEOMETRY_UNIT_TEST_NAME} PRIVATE BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE)
endforeach()

foreach(item IN ITEMS
intersection
intersection_multi
)
boost_geometry_add_unit_test("algorithms_alternative" ${item})
target_compile_definitions(${BOOST_GEOMETRY_UNIT_TEST_NAME} PRIVATE BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE)
target_compile_definitions(${BOOST_GEOMETRY_UNIT_TEST_NAME} PRIVATE BOOST_GEOMETRY_ROBUSTNESS_ALTERNATIVE)
endforeach()

foreach(item IN ITEMS
intersection_box
intersection_gc
Expand All @@ -33,11 +24,4 @@ foreach(item IN ITEMS
intersection_integer
)
boost_geometry_add_unit_test("algorithms" ${item})
endforeach()

foreach(item IN ITEMS
intersection_linear_linear
)
boost_geometry_add_unit_test("algorithms_alternative" ${item})
target_compile_definitions(${BOOST_GEOMETRY_UNIT_TEST_NAME} PRIVATE BOOST_GEOMETRY_ROBUSTNESS_ALTERNATIVE)
endforeach()
11 changes: 0 additions & 11 deletions test/algorithms/set_operations/union/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,6 @@ foreach(item IN ITEMS
target_compile_definitions(${BOOST_GEOMETRY_UNIT_TEST_NAME} PRIVATE BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE)
endforeach()

foreach(item IN ITEMS
union
union_multi
union_other_types
union_issues
)
boost_geometry_add_unit_test("algorithms_alternative" ${item})
target_compile_definitions(${BOOST_GEOMETRY_UNIT_TEST_NAME} PRIVATE BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE)
target_compile_definitions(${BOOST_GEOMETRY_UNIT_TEST_NAME} PRIVATE BOOST_GEOMETRY_ROBUSTNESS_ALTERNATIVE)
endforeach()

foreach(item IN ITEMS
union_aa_geo
union_aa_sph
Expand Down

0 comments on commit e1e89e7

Please sign in to comment.