3 Commits

Author SHA1 Message Date
d572fc208b build: add BUILD_SBPL_RECOVERY_TESTS option, off by default
Tests used to build whenever CATKIN_ENABLE_TESTING was on. They now also
need -DBUILD_SBPL_RECOVERY_TESTS=ON, in both build modes.
2026-11-17 20:36:12 +07:00
d1fd7230c0 build: add the standalone branch this package never had
find_package(catkin REQUIRED ...) sat at top level, so a build without catkin
died at configure time - and it died pointing at a package that IS present:

    Could not find a package configuration file provided by "recovery_core"

recovery_core is in the tree and was added before this package. What is absent
is recovery_coreConfig.cmake, which only a catkin workspace produces. The error
sends you looking for a missing package instead of a missing build mode.

Standalone names the CMake targets directly rather than searching for them. The
root CMakeLists adds every package before this one, so their include
directories arrive through each target's PUBLIC interface - the order in that
file is the real constraint, not anything expressed here.

The plugin also goes to the top of the build tree in standalone mode. It is
loaded by boost::dll under a filename that PluginLoaderHelper resolves against
the build directory; left in its own subdirectory, it builds and is then
invisible at runtime.

Separately: catkin_add_gtest marks the test EXCLUDE_FROM_ALL, so catkin_make
never built it and ctest then failed with

    /bin/sh: 1: .../devel/lib/sbpl_recovery/detour_path_recovery_test: not found

which reads as a broken test rather than a missing binary. Every other package
in this repository opens the target back up; this one did not. It does now, and
the 24 tests pass.
2026-08-27 10:37:37 +07:00
72435b76fd first commit 2026-08-09 18:48:16 +07:00