Artem Pikulin
7 years ago
6 changed files with 76 additions and 37 deletions
@ -1,11 +1,11 @@ |
|||
cmake_minimum_required(VERSION 2.8.9) |
|||
cmake_minimum_required(VERSION 3.5.1) |
|||
add_library(etomiclib-testnet etomiclib.cpp etomiccurl.c) |
|||
add_library(etomiclib-mainnet etomiclib.cpp etomiccurl.c) |
|||
target_compile_definitions(etomiclib-testnet PRIVATE ETOMIC_TESTNET) |
|||
add_executable(alice alice.c) |
|||
add_executable(bob bob.c) |
|||
include_directories("${CMAKE_SOURCE_DIR}/cpp-ethereum") |
|||
target_link_libraries(etomiclib-testnet PUBLIC curl libcrypto777 ethcore devcrypto devcore) |
|||
target_link_libraries(etomiclib-mainnet PUBLIC curl libcrypto777 ethcore devcrypto devcore) |
|||
target_link_libraries(etomiclib-testnet PUBLIC curl libcrypto777 ethcore devcrypto devcore pthread) |
|||
target_link_libraries(etomiclib-mainnet PUBLIC curl libcrypto777 ethcore devcrypto devcore pthread) |
|||
target_link_libraries(alice PUBLIC etomiclib-testnet) |
|||
target_link_libraries(bob PUBLIC etomiclib-testnet) |
|||
target_link_libraries(bob PUBLIC etomiclib-testnet) |
|||
|
Loading…
Reference in new issue