-
Notifications
You must be signed in to change notification settings - Fork 27
/
CMakeLists.txt
28 lines (22 loc) · 938 Bytes
/
CMakeLists.txt
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
27
28
cmake_minimum_required(VERSION 3.10)
project(ftxclient)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_FLAGS "-Wall -Wfatal-errors -Wpedantic -Wextra -Wmissing-include-dirs -Wconversion -Wsign-conversion -pthread")
add_compile_options(-Wall -Wfatal-errors -Wpedantic -Wextra -Wmissing-include-dirs -Wconversion -Wsign-conversion -pthread)
#-Werror -Wfatal-errors
set(CMAKE_CXX_FLAGS_DEBUG "-O0 -march=native -g")
set(Boost_USE_STATIC_LIBS OFF)
set(Boost_USE_STATIC_RUNTIME OFF)
set(Boost_USE_MULTITHREADED OFF)
find_package(Boost 1.71 REQUIRED)
link_directories(${Boost_LIBRARY_DIRS})
include_directories(SYSTEM ${Boost_INCLUDE_DIR})
include_directories(src)
include_directories(src/External/cpp-cryptlite/include/)
add_subdirectory(src/WS)
add_subdirectory(src/FIX)
add_subdirectory(src/Strategies)
add_subdirectory(src/Secrets)
add_subdirectory(src/Rest)
add_subdirectory(src/Utilities)
add_subdirectory(src)