Skip to content

feat(CppUnit): add ENABLE_INSTALL_CPPUNIT option to control installation#5229

Merged
matejk merged 1 commit intomainfrom
feature/install-cppunit-option
Feb 28, 2026
Merged

feat(CppUnit): add ENABLE_INSTALL_CPPUNIT option to control installation#5229
matejk merged 1 commit intomainfrom
feature/install-cppunit-option

Conversation

@matejk
Copy link
Contributor

@matejk matejk commented Feb 27, 2026

Summary

  • Adds ENABLE_INSTALL_CPPUNIT CMake option (default OFF) to control whether CppUnit headers and libraries are installed
  • When ENABLE_INSTALL_CPPUNIT=ON, it also enables ENABLE_CPPUNIT automatically
  • Allows downstream packagers to build tests (ENABLE_TESTS=ON) without installing CppUnit as part of the SDK
  • Uses the new option in trace CI jobs

Test plan

  • cmake -DENABLE_TESTS=ON .. — CppUnit is built but NOT installed
  • cmake -DENABLE_INSTALL_CPPUNIT=ON .. — CppUnit is built AND installed

Ref: dc1c8e1#commitcomment-178312179

@matejk matejk merged commit 545940b into main Feb 28, 2026
102 checks passed
@matejk matejk deleted the feature/install-cppunit-option branch February 28, 2026 06:47
@matejk matejk added this to the Release 1.15.1 milestone Feb 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant