From 6bdd28a09c589cf631fce948476d48e9375f72a0 Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Mon, 10 Jan 2022 04:50:34 +0000
Subject: [PATCH] Click trader working, with exchange communication

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

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1c49f41..94cf3a1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,9 +5,15 @@
 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(JSON json.cpp)
+
+add_library(MAIN date protocol.cpp book.cpp)
+target_link_libraries(MAIN PUBLIC JSON)
 
 add_executable(test test.cpp strat.cpp)
 add_executable(bot bot.cpp strat.cpp)

--
Gitblit v1.9.3