aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_utilities/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/blockchain_utilities/CMakeLists.txt')
-rw-r--r--src/blockchain_utilities/CMakeLists.txt70
1 files changed, 70 insertions, 0 deletions
diff --git a/src/blockchain_utilities/CMakeLists.txt b/src/blockchain_utilities/CMakeLists.txt
index a701bc605..a5dd69556 100644
--- a/src/blockchain_utilities/CMakeLists.txt
+++ b/src/blockchain_utilities/CMakeLists.txt
@@ -67,6 +67,30 @@ monero_private_headers(blockchain_export
${blockchain_export_private_headers})
+set(blockchain_blackball_sources
+ blockchain_blackball.cpp
+ )
+
+set(blockchain_blackball_private_headers
+ bootstrap_file.h
+ blocksdat_file.h
+ bootstrap_serialization.h
+ )
+
+monero_private_headers(blockchain_blackball
+ ${blockchain_blackball_private_headers})
+
+set(blockchain_usage_sources
+ blockchain_usage.cpp
+ )
+
+set(blockchain_usage_private_headers)
+
+monero_private_headers(blockchain_usage
+ ${blockchain_usage_private_headers})
+
+
+
monero_add_executable(blockchain_import
${blockchain_import_sources}
${blockchain_import_private_headers}
@@ -117,3 +141,49 @@ set_property(TARGET blockchain_export
OUTPUT_NAME "monero-blockchain-export")
install(TARGETS blockchain_export DESTINATION bin)
+monero_add_executable(blockchain_blackball
+ ${blockchain_blackball_sources}
+ ${blockchain_blackball_private_headers})
+
+target_link_libraries(blockchain_blackball
+ PRIVATE
+ wallet
+ cryptonote_core
+ blockchain_db
+ p2p
+ version
+ epee
+ ${Boost_FILESYSTEM_LIBRARY}
+ ${Boost_SYSTEM_LIBRARY}
+ ${Boost_THREAD_LIBRARY}
+ ${CMAKE_THREAD_LIBS_INIT}
+ ${EXTRA_LIBRARIES})
+
+set_property(TARGET blockchain_blackball
+ PROPERTY
+ OUTPUT_NAME "monero-blockchain-blackball")
+install(TARGETS blockchain_blackball DESTINATION bin)
+
+
+monero_add_executable(blockchain_usage
+ ${blockchain_usage_sources}
+ ${blockchain_usage_private_headers})
+
+target_link_libraries(blockchain_usage
+ PRIVATE
+ cryptonote_core
+ blockchain_db
+ p2p
+ version
+ epee
+ ${Boost_FILESYSTEM_LIBRARY}
+ ${Boost_SYSTEM_LIBRARY}
+ ${Boost_THREAD_LIBRARY}
+ ${CMAKE_THREAD_LIBS_INIT}
+ ${EXTRA_LIBRARIES})
+
+set_property(TARGET blockchain_usage
+ PROPERTY
+ OUTPUT_NAME "monero-blockchain-usage")
+install(TARGETS blockchain_usage DESTINATION bin)
+