mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-28 06:43:49 +02:00
cmake: Add APPEND_{CPP,C,CXX,LD}FLAGS cache variables
The content of those variables is appended to the each target after the flags added by the build system.
This commit is contained in:
@@ -73,6 +73,7 @@ endif()
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS OFF)
|
||||
add_subdirectory(secp256k1)
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
string(APPEND CMAKE_C_COMPILE_OBJECT " ${APPEND_CPPFLAGS} ${APPEND_CFLAGS}")
|
||||
|
||||
# Stable, backwards-compatible consensus functionality.
|
||||
add_library(bitcoin_consensus STATIC EXCLUDE_FROM_ALL
|
||||
|
||||
Reference in New Issue
Block a user