dec1/Boost-for-Android

Build debug binaries

Closed this issue · 1 comments

ki82 commented

It would be useful if it is possible to build debug binaries of boost instead of only release.
Preferable by a command line flag that lets you choose between debug/release and defaults to release.

If there is no flag, is it possible to manually make a debug build by some small modifications of the script? Any guidance would be appreciated.

dec1 commented

Hello.

Adding variant=debug as a parameter for b2 in build.sh should do the trick.

eg.

....
abi=$abi  \
.....

->

.....
variant=debug    \
abi=$abi  \
.....