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 |
|
b4cf0a
|
13 |
add_library(JSON json.cpp) |
JG |
14 |
|
|
15 |
add_library(MAIN date protocol.cpp book.cpp) |
|
16 |
target_link_libraries(MAIN PUBLIC JSON) |
16b655
|
17 |
|
JG |
18 |
add_executable(test test.cpp strat.cpp) |
|
19 |
add_executable(bot bot.cpp strat.cpp) |
|
20 |
add_executable(click click.cpp) |
|
21 |
|
|
22 |
target_link_libraries(test PUBLIC MAIN) |
|
23 |
target_link_libraries(bot PUBLIC MAIN) |
|
24 |
target_link_libraries(click PUBLIC MAIN) |