15 lines
472 B
CMake
15 lines
472 B
CMake
cmake_minimum_required(VERSION 3.5)
|
|
project(mmcs-quotes-bridge LANGUAGES CXX)
|
|
|
|
add_subdirectory(curl)
|
|
add_subdirectory(json)
|
|
add_subdirectory(libuv)
|
|
add_subdirectory(spdlog)
|
|
add_subdirectory(td)
|
|
|
|
add_executable(${PROJECT_NAME} main.cpp http.cpp state.cpp vk.cpp)
|
|
|
|
target_compile_options(${PROJECT_NAME} PRIVATE -std=c++2b)
|
|
|
|
target_link_libraries(${PROJECT_NAME} PRIVATE CURL::libcurl nlohmann_json::nlohmann_json uv spdlog::spdlog Td::TdStatic $<$<BOOL:${MINGW}>:ws2_32>)
|