UpAndDown/CMakeLists.txt
2024-12-11 12:07:19 +01:00

28 lines
904 B
CMake

cmake_minimum_required(VERSION 3.11)
project(App CXX)
set(CMAKE_CXX_STANDARD 20)
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
conan_basic_setup()
find_package(Boost 1.84.0 REQUIRED)
if(Boost_FOUND)
include_directories(${Boost_INCLUDE_DIRS})
endif()
set(THREADS_PREFER_PTHREAD_FLAG ON)
find_package(Threads REQUIRED)
add_executable(application src/main.cpp
src/helpers.h
src/helper.cpp
src/sdk.h
src/Session.h
src/Session.cpp
src/Listener.h
src/Listener.cpp
src/content_type.h
src/RequestHandlers/BasicRequestHandler.cpp
src/RequestHandlers/BasicRequestHandler.h)
target_link_libraries(application PRIVATE Threads::Threads)