This PR enables building and installing only libbitcoinkernel
, without the need to disable other targets during the project build system generation:
0$ rm -rf build && cmake -B build -DBUILD_KERNEL_LIB=ON
1$ cmake --build build --target bitcoinkernel
2$ cmake --install build --component Kernel --prefix /home/hebasto/INSTALL
3-- Install configuration: "RelWithDebInfo"
4-- Installing: /home/hebasto/INSTALL/lib/libbitcoinkernel.so
Please note, that only the bitcoinkernel
target is being built.