Joel Grunbaum
2022-01-11 4fdb65896bb30efb30fb22342e5b44dd481250dd
commit | author | age
16b655 1 cmake_minimum_required(VERSION 3.10)
JG 2
3 project(bomex)
4
5 set(CMAKE_CXX_STANDARD 20)
6 set(CMAKE_CXX_STANDARD_REQUIRED True)
7
6926be 8 add_compile_options(-g -Wall)
JG 9
16b655 10 add_subdirectory(date)
b4cf0a 11 # add_subdirectory(rapidjson)
16b655 12
4fdb65 13 add_library(WS easywsclient/easywsclient.cpp)
JG 14
b4cf0a 15 add_library(JSON json.cpp)
JG 16
17 add_library(MAIN date protocol.cpp book.cpp)
4fdb65 18 target_link_libraries(MAIN PUBLIC JSON WS)
16b655 19
JG 20 add_executable(test test.cpp strat.cpp)
21 add_executable(bot bot.cpp strat.cpp)
22 add_executable(click click.cpp)
23
24 target_link_libraries(test PUBLIC MAIN)
25 target_link_libraries(bot PUBLIC MAIN)
26 target_link_libraries(click PUBLIC MAIN)