Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove data_migrate from build #1874

Merged
merged 1 commit into from Sep 17, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -262,7 +262,7 @@ if(TESTS)
endif()

# installation
set_target_properties(zilliqa sendcmd genkeypair getpub getaddr gentxn signmultisig verifymultisig ZilliqaDaemon_AWS gensigninitialds grepperf getnetworkhistory getrewardhistory validateDB restore genTxnBodiesFromS3 data_migrate
set_target_properties(zilliqa sendcmd genkeypair getpub getaddr gentxn signmultisig verifymultisig ZilliqaDaemon_AWS gensigninitialds grepperf getnetworkhistory getrewardhistory validateDB restore genTxnBodiesFromS3
PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)

set_target_properties(Common Trie ethash NAT
Expand Down
12 changes: 6 additions & 6 deletions src/cmd/CMakeLists.txt
Expand Up @@ -92,9 +92,9 @@ add_custom_command(TARGET zilliqa
target_include_directories(genTxnBodiesFromS3 PUBLIC ${CMAKE_SOURCE_DIR}/src)
target_link_libraries(genTxnBodiesFromS3 PUBLIC AccountData Utils Persistence Server)

add_executable(data_migrate data_migrate.cpp)
add_custom_command(TARGET zilliqa
POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:data_migrate> ${CMAKE_BINARY_DIR}/tests/Zilliqa)
target_include_directories(data_migrate PUBLIC ${CMAKE_SOURCE_DIR}/src)
target_link_libraries(data_migrate PUBLIC Mediator Utils Persistence AccountData)
#add_executable(data_migrate data_migrate.cpp)
#add_custom_command(TARGET zilliqa
# POST_BUILD
# COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:data_migrate> ${CMAKE_BINARY_DIR}/tests/Zilliqa)
#target_include_directories(data_migrate PUBLIC ${CMAKE_SOURCE_DIR}/src)
#target_link_libraries(data_migrate PUBLIC Mediator Utils Persistence AccountData)