2024-11-07 12:24:18 +01:00
|
|
|
cmake_minimum_required(VERSION 3.11)
|
|
|
|
|
2024-11-08 15:46:43 +01:00
|
|
|
project(App CXX)
|
2024-11-07 12:24:18 +01:00
|
|
|
set(CMAKE_CXX_STANDARD 20)
|
|
|
|
|
|
|
|
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
|
|
|
|
conan_basic_setup()
|
|
|
|
|
2024-11-08 15:46:43 +01:00
|
|
|
find_package(Boost 1.84.0 REQUIRED)
|
2024-11-07 12:24:18 +01:00
|
|
|
if(Boost_FOUND)
|
|
|
|
include_directories(${Boost_INCLUDE_DIRS})
|
|
|
|
endif()
|
|
|
|
|
|
|
|
set(THREADS_PREFER_PTHREAD_FLAG ON)
|
|
|
|
find_package(Threads REQUIRED)
|
|
|
|
|
2024-11-08 17:55:10 +01:00
|
|
|
add_executable(application src/main.cpp src/helpers.h src/helper.cpp src/sdk.h)
|
2024-11-07 12:24:18 +01:00
|
|
|
target_link_libraries(application PRIVATE Threads::Threads)
|