mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
* Added listener and session classes. * Added client session class. * Fixed minor code issues. * Initial server implementation p2p connection * Added a seperate thread to run the two servers * Implemented basic web socket architecture * Implemented basic peer to peer socket network * Added a sample message * Initial socket architecture completed * Improved code readability * Improved comments
25 lines
464 B
CMake
25 lines
464 B
CMake
cmake_minimum_required(VERSION 3.2)
|
|
|
|
add_definitions("-std=c++17")
|
|
|
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY build)
|
|
|
|
add_executable(hpcore
|
|
src/main.cpp
|
|
src/conf.cpp
|
|
src/crypto.cpp
|
|
src/proc.cpp
|
|
src/shared.cpp
|
|
src/usr/usr.cpp
|
|
src/shared.cpp
|
|
src/sock/socket_client.cpp
|
|
src/sock/socket_server.cpp
|
|
src/sock/socket_session.cpp
|
|
)
|
|
|
|
target_link_libraries(hpcore
|
|
libsodium.a
|
|
libboost_system.a
|
|
libboost_filesystem.a
|
|
pthread
|
|
) |