Artem Pikulin
7 years ago
1 changed files with 6 additions and 4 deletions
@ -1,7 +1,9 @@ |
|||
include_directories(${CMAKE_CURRENT_SOURCE_DIR}) |
|||
add_executable(marketmaker-testnet mm.c ../mini-gmp.c ../groestl.c ../segwit_addr.c) |
|||
add_executable(marketmaker-mainnet mm.c ../mini-gmp.c ../groestl.c ../segwit_addr.c) |
|||
set(MM_SOURCES mm.c ../mini-gmp.c ../groestl.c ../segwit_addr.c ../keccak.c) |
|||
set(MM_LIBS nanomsg curl pthread m libcrypto777 libjpeg libsecp256k1 "-Wl,--allow-multiple-definition") |
|||
add_executable(marketmaker-testnet ${MM_SOURCES}) |
|||
add_executable(marketmaker-mainnet ${MM_SOURCES}) |
|||
include_directories(../../crypto777) |
|||
target_compile_definitions(marketmaker-testnet PRIVATE ETOMIC_TESTNET) |
|||
target_link_libraries(marketmaker-testnet PRIVATE nanomsg curl pthread m libcrypto777 libjpeg libsecp256k1 "-Wl,--allow-multiple-definition" etomiclib-testnet) |
|||
target_link_libraries(marketmaker-mainnet PRIVATE nanomsg curl pthread m libcrypto777 libjpeg libsecp256k1 "-Wl,--allow-multiple-definition" etomiclib-mainnet) |
|||
target_link_libraries(marketmaker-testnet PRIVATE ${MM_LIBS} etomiclib-testnet) |
|||
target_link_libraries(marketmaker-mainnet PRIVATE ${MM_LIBS} etomiclib-mainnet) |
Loading…
Reference in new issue