diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-11-22 21:52:14 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-11-22 21:52:14 +0000 |
commit | 410c6cf3bd1d46c5cf030b0d1daff9362a0e6ae6 (patch) | |
tree | d75f7f799e6d18352ef3d06d6f22a5bb56dd0324 /src/blockchain_utilities/CMakeLists.txt | |
parent | Merge pull request #495 (diff) | |
download | monero-410c6cf3bd1d46c5cf030b0d1daff9362a0e6ae6.tar.xz |
cn_deserialize: a new tool to decode blocks and transactions
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") + |