Skip to content

Commit

Permalink
remove CGAL comparisons (#1009)
Browse files Browse the repository at this point in the history
* remove CGAL

* fix format
  • Loading branch information
elalish authored Oct 23, 2024
1 parent 80221a3 commit a0d2c3a
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 661 deletions.
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,8 @@ set(MANIFOLD_FLAGS "" CACHE STRING "Manifold compiler flags")
# Development options
option(TRACY_ENABLE "Use tracy profiling" OFF)
option(TRACY_MEMORY_USAGE "Track memory allocation with tracy (expensive)" OFF)
option(BUILD_TEST_CGAL "Build CGAL performance comparisons" OFF)
mark_as_advanced(TRACY_ENABLE)
mark_as_advanced(TRACY_MEMORY_USAGE)
mark_as_advanced(BUILD_TEST_CGAL)

# fuzztest is a rather large dependency
option(MANIFOLD_FUZZ "Enable fuzzing tests" OFF)
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ CMake flags (usage e.g. `-DMANIFOLD_DEBUG=ON`):
- `MANIFOLD_TEST=[OFF, <ON>]`: Build unittests.
- `TRACY_ENABLE=[<OFF>, ON]`: Enable integration with tracy profiler.
See profiling section below.
- `BUILD_TEST_CGAL=[<OFF>, ON]`: Builds a CGAL-based performance [comparison](https://github.com/elalish/manifold/tree/master/extras), requires `libcgal-dev` if enabled.

Offline building (with missing dependencies):
- `MANIFOLD_DOWNLOADS=[OFF, <ON>]`: Automatically download missing dependencies.
Expand Down
29 changes: 0 additions & 29 deletions extras/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,32 +46,3 @@ if(MANIFOLD_EXPORT)
target_compile_options(convertFile PRIVATE ${MANIFOLD_FLAGS})
target_compile_features(convertFile PUBLIC cxx_std_17)
endif()

if(BUILD_TEST_CGAL)
add_executable(perfTestCGAL perf_test_cgal.cpp)
find_package(CGAL REQUIRED COMPONENTS Core)
find_package(Boost REQUIRED COMPONENTS thread)
target_compile_definitions(perfTestCGAL PRIVATE CGAL_USE_GMPXX)
target_link_libraries(
perfTestCGAL
manifold
CGAL::CGAL
CGAL::CGAL_Core
Boost::thread
)
target_compile_options(perfTestCGAL PRIVATE ${MANIFOLD_FLAGS})
target_compile_features(perfTestCGAL PUBLIC cxx_std_17)

add_executable(testHullPerformance test_hull_performance.cpp)
target_compile_definitions(testHullPerformance PRIVATE CGAL_USE_GMPXX)
target_link_libraries(
testHullPerformance
manifold
samples
CGAL::CGAL
CGAL::CGAL_Core
Boost::thread
)
target_compile_options(testHullPerformance PRIVATE ${MANIFOLD_FLAGS})
target_compile_features(testHullPerformance PUBLIC cxx_std_17)
endif()
242 changes: 0 additions & 242 deletions extras/merge_and_stats.py

This file was deleted.

78 changes: 0 additions & 78 deletions extras/perf_test_cgal.cpp

This file was deleted.

Loading

0 comments on commit a0d2c3a

Please sign in to comment.