|
|
@ -1,6 +1,12 @@ |
|
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR}) |
|
|
|
set(MM_SOURCES mm.c ../mini-gmp.c ../groestl.c ../segwit_addr.c ../keccak.c) |
|
|
|
set(MM_LIBS ${NANOMSG_LIBRARY} curl pthread libcrypto777 libjpeg libsecp256k1 "-Wl,--allow-multiple-definition") |
|
|
|
if (${CMAKE_SYSTEM_NAME} MATCHES "Windows") |
|
|
|
set(MM_LIBS ${NANOMSG_LIBRARY} curl pthread libcrypto777 libjpeg libsecp256k1) |
|
|
|
elseif (${CMAKE_SYSTEM_NAME} MATCHES "Linux") |
|
|
|
set(MM_LIBS ${NANOMSG_LIBRARY} curl pthread libcrypto777 libjpeg libsecp256k1 "-Wl,--allow-multiple-definition") |
|
|
|
elseif (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") |
|
|
|
set(MM_LIBS ${NANOMSG_LIBRARY} curl pthread libcrypto777 libjpeg libsecp256k1 "-m") |
|
|
|
endif() |
|
|
|
add_executable(marketmaker-testnet ${MM_SOURCES}) |
|
|
|
add_executable(marketmaker-mainnet ${MM_SOURCES}) |
|
|
|
include_directories(../../crypto777) |
|
|
|