Skip to content

Building all examples without boost and without asio #3790

Answered by reneme
yanboti asked this question in Q&A
Discussion options

You must be logged in to vote

Similar to what @securitykernel explained in your other discussion, examples are currently built as all-or-nothing. The examples build target is currently not integrated with Botan's module system and simply assumes that all modules required are available.

With #3787, ./configure.py will at least refuse to allow the examples build target without --with-boost. But for a minimized build one still runs into compile errors, as you pointed out. Initially, we added the build target mostly to have all examples build in CI as a cross check.

But frankly, now that they are part of the "official" build scripts, perhaps we should actually clean this up and only build examples that fit the build confi…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by yanboti
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants