diff options
author | Riccardo Spagni <ric@spagni.net> | 2016-11-01 15:12:30 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2016-11-01 15:12:30 +0200 |
commit | f189fe51ac90f6e9ddbbea6f2cb7555f44572ecc (patch) | |
tree | e19da4bb9c840b2d8670ef2997f2653c2e05224a /src/blockchain_utilities/CMakeLists.txt | |
parent | Merge pull request #1281 (diff) | |
parent | core: fix removal of extra nonce using wrong type (diff) | |
download | monero-f189fe51ac90f6e9ddbbea6f2cb7555f44572ecc.tar.xz |
Merge pull request #1282
f5ccfa4 core: fix removal of extra nonce using wrong type (moneromooo-monero)
3c2cad2 Revert "remove cn_deserialize" (moneromooo-monero)
Diffstat (limited to 'src/blockchain_utilities/CMakeLists.txt')
-rw-r--r-- | src/blockchain_utilities/CMakeLists.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/blockchain_utilities/CMakeLists.txt b/src/blockchain_utilities/CMakeLists.txt index ccfd4a279..198f15ca3 100644 --- a/src/blockchain_utilities/CMakeLists.txt +++ b/src/blockchain_utilities/CMakeLists.txt @@ -58,6 +58,11 @@ monero_private_headers(blockchain_export ${blockchain_export_private_headers}) +set(cn_deserialize_sources + cn_deserialize.cpp + ) + + monero_add_executable(blockchain_import ${blockchain_import_sources} ${blockchain_import_private_headers}) @@ -104,3 +109,20 @@ add_dependencies(blockchain_export set_property(TARGET blockchain_export PROPERTY OUTPUT_NAME "monero-blockchain-export") + +monero_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") + |