mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 14:59:39 -04:00
build: Introduce "Kernel" installation component
This change enables building and installing only `libbitcoinkernel`, without the need to disable other targets during the project build system generation.
This commit is contained in:
parent
bbf95c0cc5
commit
7b04fabe2d
1 changed files with 9 additions and 3 deletions
|
@ -100,7 +100,13 @@ set_target_properties(bitcoinkernel PROPERTIES
|
||||||
|
|
||||||
include(GNUInstallDirs)
|
include(GNUInstallDirs)
|
||||||
install(TARGETS bitcoinkernel
|
install(TARGETS bitcoinkernel
|
||||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
RUNTIME
|
||||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
COMPONENT Kernel
|
||||||
|
LIBRARY
|
||||||
|
DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
|
COMPONENT Kernel
|
||||||
|
ARCHIVE
|
||||||
|
DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
|
COMPONENT Kernel
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue