mirror of
https://github.com/UltraCoderRU/court_monitor.git
synced 2026-01-28 10:25:13 +00:00
30 lines
522 B
CMake
30 lines
522 B
CMake
cmake_minimum_required(VERSION 3.5)
|
|
project(court_monitor)
|
|
|
|
set(CMAKE_CXX_STANDARD 20)
|
|
set(CMAKE_CXX_STANDARD_REQUIRED TRUE)
|
|
|
|
find_package(OpenSSL REQUIRED)
|
|
|
|
find_package(Boost COMPONENTS system REQUIRED)
|
|
|
|
add_subdirectory(external)
|
|
|
|
add_executable(court_monitor
|
|
Bot.cpp
|
|
BotSession.cpp
|
|
CourtApi.cpp
|
|
Dialog.cpp
|
|
Logger.cpp
|
|
Storage.cpp
|
|
SubscribeCaseDialog.cpp
|
|
main.cpp
|
|
)
|
|
target_link_libraries(court_monitor
|
|
banana-beast
|
|
fmt::fmt
|
|
nlohmann_json::nlohmann_json
|
|
certify::core
|
|
Boost::system
|
|
${OPENSSL_LIBRARIES}
|
|
)
|