cmake_minimum_required(VERSION 3.3)
project(slap)

set(CMAKE_CXX_STANDARD 14)
set(CXX_STANDARD_REQUIRED ON)

set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)

# cpprestsdk
set(BUILD_TESTS OFF CACHE BOOL "Build tests.")
set(BUILD_SAMPLES OFF CACHE BOOL "Build samples.")
add_subdirectory(lib/cpprestsdk/Release)

include_directories(SYSTEM lib/cpprestsdk/Release/include)

# bot
add_subdirectory(src)

cmake_minimum_required(VERSION 3.3)
project(slap)

set(CMAKE_CXX_STANDARD 14)
set(CXX_STANDARD_REQUIRED ON)

set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)

# cpprestsdk
set(BUILD_SHARED_LIBS OFF CACHE BOOL "Build shared Libraries.")
set(BUILD_TESTS OFF CACHE BOOL "Build tests.")
set(BUILD_SAMPLES OFF CACHE BOOL "Build samples.")
set(Boost_USE_STATIC_LIBS ON CACHE BOOL "Boost static lib build.")
add_subdirectory(lib/cpprestsdk/Release)

include_directories(SYSTEM lib/cpprestsdk/Release/include)

# bot
add_subdirectory(src)

Change libs type to static
Change libs type to static
