diff options
Diffstat (limited to '')
-rw-r--r-- | src/blockchain_utilities/CMakeLists.txt | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/blockchain_utilities/CMakeLists.txt b/src/blockchain_utilities/CMakeLists.txt index f88180686..5538e7d26 100644 --- a/src/blockchain_utilities/CMakeLists.txt +++ b/src/blockchain_utilities/CMakeLists.txt @@ -77,6 +77,16 @@ bitmonero_private_headers(blockchain_dump ${blockchain_dump_private_headers}) +set(cn_deserialize_sources + cn_deserialize.cpp + ) + +set(cn_deserialize_private_headers) + +bitmonero_private_headers(cn_deserialize + ${cn_deserialize_private_headers}) + + if (BLOCKCHAIN_DB STREQUAL DB_LMDB) bitmonero_add_executable(blockchain_converter ${blockchain_converter_sources} @@ -147,3 +157,19 @@ set_property(TARGET blockchain_dump PROPERTY OUTPUT_NAME "blockchain_dump") +bitmonero_add_executable(cn_deserialize + ${cn_deserialize_sources} + ${cn_deserialize_private_headers}) + +target_link_libraries(cn_deserialize + LINK_PRIVATE + cryptonote_core + p2p + ${CMAKE_THREAD_LIBS_INIT}) + +add_dependencies(cn_deserialize + version) +set_property(TARGET cn_deserialize + PROPERTY + OUTPUT_NAME "cn_deserialize") + |