Skip to content
Bitcoin Roots

v30.3-roots.1 · Commit 7: [PATCH 07/68] build: adapt Roots maintenance and assurance to Core 30.3

src/kernel/CMakeLists.txt

Before: src/kernel/CMakeLists.txt · After: src/kernel/CMakeLists.txt

File metadata
index c45ce7819e9810b26e22b124a9811b776dd03365..896f2fa0c0ed567e106dd64d7e62758a62c0d1e1 100644

Download original patch · Release notes

Diff rows 1–17 of 17. Line numbers refer to the original before/after files.

+ Added− RemovedUnmarked lines are context.

Scroll the code area horizontally to read long lines. The two line-number columns refer to before and after.

src/kernel/CMakeLists.txt CHANGED
@@ -35,6 +35,7 @@ add_library(bitcoinkernel
35
35
  ../node/blockstorage.cpp
36
36
  ../node/chainstate.cpp
37
37
  ../node/utxo_snapshot.cpp
38
+ ../policy/coin_age_priority.cpp
38
39
  ../policy/ephemeral_policy.cpp
39
40
  ../policy/feerate.cpp
40
41
  ../policy/packages.cpp
@@ -84,6 +85,10 @@ add_library(bitcoinkernel
84
85
  $<TARGET_OBJECTS:leveldb>
85
86
  $<TARGET_OBJECTS:crc32c>
86
87
  )
88
+ target_compile_definitions(bitcoinkernel
89
+ PRIVATE
90
+ BUILDING_FOR_LIBBITCOINKERNEL
91
+ )
87
92
  target_link_libraries(bitcoinkernel
88
93
  PRIVATE
89
94
  core_interface