Joel Grunbaum
2022-01-11 4fdb65896bb30efb30fb22342e5b44dd481250dd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
cmake_minimum_required(VERSION 3.10)
 
project(bomex)
 
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED True)
 
add_compile_options(-g -Wall)
 
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)
add_executable(click click.cpp)
 
target_link_libraries(test PUBLIC MAIN)
target_link_libraries(bot PUBLIC MAIN)
target_link_libraries(click PUBLIC MAIN)