Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## Unreleased

- Consolidate all regression coverage under `KDTREEPP_BUILD_TESTS`; remove the separate Catch2 2.x suite and unused Conan 1/Eigen find modules.
- Replace temporary release-branch wording in the README with installation guidance.


## 2.0.0 (release candidate)

- Provide a Bzlmod library target with transitive Eigen and independent consumer checks.
Expand Down
9 changes: 1 addition & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,15 @@ target_include_directories(kdtreepp INTERFACE
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
target_link_libraries(kdtreepp INTERFACE Eigen3::Eigen)
option(KDTREEPP_BUILD_TESTS "Build regression tests" OFF)
option(KDTREEPP_BUILD_LEGACY_TESTS "Build Catch2 2.x tests" OFF)
option(KDTREEPP_BUILD_BENCHMARKS "Build Google Benchmark benchmarks" OFF)
if(KDTREEPP_BUILD_TESTS OR KDTREEPP_BUILD_LEGACY_TESTS)
if(KDTREEPP_BUILD_TESTS)
enable_testing()
endif()
if(KDTREEPP_BUILD_TESTS)
add_executable(kdtreepp-regression test/regression.cpp)
target_link_libraries(kdtreepp-regression PRIVATE kdtreepp::kdtreepp)
add_test(NAME kdtreepp-regression COMMAND kdtreepp-regression)
endif()
if(KDTREEPP_BUILD_LEGACY_TESTS)
find_package(Catch2 2 REQUIRED)
add_executable(unit-tests test/test.cpp)
target_link_libraries(unit-tests PRIVATE kdtreepp::kdtreepp Catch2::Catch2)
add_test(NAME unit-tests COMMAND unit-tests)
endif()
if(KDTREEPP_BUILD_BENCHMARKS)
find_package(benchmark REQUIRED)
add_executable(bench-tests bench/run.cpp)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ For custom objects, return an Eigen point from the sort accessor and a point or

## Bazel / Bzlmod

The 2.0.0 build integration is prepared in this branch and is not yet registered in the Bazel Central Registry. Start with a local checkout in your monorepo:
Use Bzlmod to consume a local checkout in your monorepo. This example does not require a Bazel Central Registry entry:

```starlark
# MODULE.bazel
Expand Down Expand Up @@ -125,7 +125,7 @@ ctest --test-dir build --output-on-failure

Regression tests compare nearest-neighbor results with brute force, including empty, singleton, duplicate and boundary-sized inputs. CI also checks sanitizers, installed CMake consumers, Conan, Make targets and a checksum-verified archive consumed through a temporary Bazel registry.

Enable `KDTREEPP_BUILD_LEGACY_TESTS` with Catch2 2.x installed for the original suite, or `KDTREEPP_BUILD_BENCHMARKS` with Google Benchmark installed. [RELEASING.md](RELEASING.md) documents Make, coverage and release commands; [CHANGELOG.md](CHANGELOG.md) describes the version 2 build migration. No general performance improvement is claimed by that migration.
The standard regression suite also covers version reporting, spatial pruning, region queries, and in-place visitor mutation; no separate test framework is required. Enable `KDTREEPP_BUILD_BENCHMARKS` with Google Benchmark installed to run benchmarks. [RELEASING.md](RELEASING.md) documents Make, coverage and release commands; [CHANGELOG.md](CHANGELOG.md) describes the version 2 build migration. No general performance improvement is claimed by that migration.

## License

Expand Down
96 changes: 0 additions & 96 deletions cmake/FindEigen3.cmake

This file was deleted.

Loading
Loading