mmcs-quotes-bridge/CMakeLists.txt

15 lines
502 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 config.cpp http.cpp manager.cpp state.cpp tg.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>)