jl777
7 years ago
9 changed files with 45 additions and 26 deletions
@ -0,0 +1,7 @@ |
|||
FROM ubuntu:17.10 |
|||
RUN apt-get update && apt-get install -y git libcurl4-openssl-dev build-essential wget pax libleveldb-dev && apt-get clean |
|||
RUN wget https://cmake.org/files/v3.10/cmake-3.10.3-Linux-x86_64.sh && \ |
|||
chmod +x cmake-3.10.3-Linux-x86_64.sh && \ |
|||
./cmake-3.10.3-Linux-x86_64.sh --skip-license --exclude-subdir --prefix=/usr && \ |
|||
rm -rf cmake-3.10.3-Linux-x86_64.sh |
|||
CMD rm -rf build && mkdir build && cd build && cmake .. && cmake --build . --target marketmaker-testnet |
@ -1,4 +1,5 @@ |
|||
file(GLOB sources "*.c") |
|||
file(GLOB headers "*.h") |
|||
add_library(libcrypto777 ${sources} ${headers}) |
|||
target_link_libraries(libcrypto777 PUBLIC curl) |
|||
target_compile_definitions(libcrypto777 PRIVATE USE_STATIC_NANOMSG) |
|||
target_link_libraries(libcrypto777 PUBLIC curl ${NANOMSG_LIBRARY}) |
Loading…
Reference in new issue