This repository has been archived on 2024-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
HelloBot/SimpleBot/CMakeLists.txt
2018-03-29 13:51:39 +02:00

23 lines
354 B
CMake

cmake_minimum_required(VERSION 3.5)
find_package(Boost 1.60.0 COMPONENTS program_options REQUIRED)
project(SimpleBot LANGUAGES CXX)
add_executable(${PROJECT_NAME}
SimpleBot.cpp
MessageHandler.cpp
)
target_link_libraries(${PROJECT_NAME}
PRIVATE
tgbot
Boost::program_options
)
target_compile_features(${PROJECT_NAME}
PRIVATE
cxx_std_17
)