Skip to content

Conversation

@tritao
Copy link
Contributor

@tritao tritao commented Jan 13, 2026

This PR removes the Boost dependency from Coin across build systems and CI.

  • Replace remaining Boost usage with C++11 equivalents and add SoRefPtr for ref-counted Coin objects.
  • Replace Boost.Test with a small in-tree test runner (testsuite/CoinTest.h).
  • Autotools/CI cleanup: remove Boost checks/options, delete stale Boost include maintenance scripts, and drop Boost installs from GitHub Actions + AppVeyor.

Tested: CMake configure/build + ctest (CoinTests) on Linux.

@tritao tritao force-pushed the remove-boost branch 2 times, most recently from 895b1fa to 078c96b Compare January 13, 2026 01:59
@tritao
Copy link
Contributor Author

tritao commented Jan 13, 2026

@VolkerEnderlein Just a little context on this, we are trying to remove Boost dependency on FreeCAD, so this PR is the Coin side of that equation
.
Hope you find it acceptable, but let me know if your views differ from this direction.

@VolkerEnderlein
Copy link
Member

Thanks for this incredible work. I'll check the PR over the next days thoroughly and give you a feedback.

Drop the Boost dependency by replacing remaining Boost usage with C++11 equivalents and an internal ref-counting pointer wrapper. Also remove Boost from the CMake build and documentation.
Introduce a minimal CoinTest framework and update the testsuite extractor/template to use it, removing the Boost.Test dependency.
Remove the Boost check from Autotools, regenerate configure, drop the
unused Boost header list/scripts, and stop installing/configuring Boost
in CI/AppVeyor.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants