Uh oh!
There was an error while loading. Please reload this page.
cmake: Also build the test programs in BUILD_TESTING=Y mode - #108
cmake: Also build the test programs in BUILD_TESTING=Y mode#108nigels-com wants to merge 1 commit into
Conversation
Flamefire
commented
Jun 23, 2026
You should rather use |
nigels-com
commented
Jun 23, 2026
Yes, that would be a good follow-up, agreed. |
Flamefire
commented
Jun 25, 2026
I'm not sure this change does what is intended: The test will not be built with this change unless you build the individual targets explicitly. But as you seem to intent to build Boost.format against an installed Boost too, it is going to be harder and likely requires adding such targets manually. |
nigels-com
commented
Jun 25, 2026
It's as intended. Certainly could be taken further. Intended as a first step. |
Extending the cmake build to also build the test programs.
Requires
BUILD_TESTINGmode and an installed boost that cmake can find via find_package.Also requires using the
tests/allninja target.Ideally this test coverage could be adapted as cmake tests, but this is the first step.