mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
28 lines
537 B
CMake
28 lines
537 B
CMake
cmake_minimum_required(VERSION 3.2)
|
|
project(HPCore)
|
|
|
|
add_definitions("-std=c++17")
|
|
|
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY build)
|
|
|
|
add_executable(hpcore
|
|
src/p2p/message.pb.cc
|
|
src/sock/socket_client.cpp
|
|
src/sock/socket_server.cpp
|
|
src/sock/socket_session.cpp
|
|
src/util.cpp
|
|
src/crypto.cpp
|
|
src/conf.cpp
|
|
src/proc.cpp
|
|
src/usr/user_session_handler.cpp
|
|
src/usr/usr.cpp
|
|
src/main.cpp
|
|
)
|
|
|
|
target_link_libraries(hpcore
|
|
libsodium.a
|
|
libboost_system.a
|
|
libboost_filesystem.a
|
|
pthread
|
|
protobuf.a
|
|
) |