From 4fdb65896bb30efb30fb22342e5b44dd481250dd Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Tue, 11 Jan 2022 07:04:05 +0000
Subject: [PATCH] Websocket added

---
 CMakeLists.txt |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1c49f41..d607e47 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,9 +5,17 @@
 set(CMAKE_CXX_STANDARD 20)
 set(CMAKE_CXX_STANDARD_REQUIRED True)
 
-add_subdirectory(date)
+add_compile_options(-g -Wall)
 
-add_library(MAIN json.cpp date protocol.cpp book.cpp)
+add_subdirectory(date)
+# add_subdirectory(rapidjson)
+
+add_library(WS easywsclient/easywsclient.cpp)
+
+add_library(JSON json.cpp)
+
+add_library(MAIN date protocol.cpp book.cpp)
+target_link_libraries(MAIN PUBLIC JSON WS)
 
 add_executable(test test.cpp strat.cpp)
 add_executable(bot bot.cpp strat.cpp)

--
Gitblit v1.9.3