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)
|