Add more build options
Closes #305 (closed)
This MR provides the following options:
-
CMAKE_TOOLCHAIN_PREFIX
: Allow to specify the value to use asTOOLCHAIN_PREFIX
, this let consumers reuse the most of the platform file while building for another system (ie: usingLinux64.cmake
file to build forx86_64-pc-linux-musl
-
ENABLE_STATIC_LIBGCC
: Allow statically linkinglibgcc
(defaultOFF
) -
BUILD_BITCOIN_DAEMON
: Allow controlling ifbitcoind
should be built (defaultON
)
NOTE: As man pages have a hard dependency on bitcoind
, if BUILD_BITCOIN_DAEMON=OFF
no man pages will be generated.