2023-03-09 15:21:05 +01:00
|
|
|
cmake_minimum_required(VERSION 3.22)
|
2023-03-08 21:01:11 +01:00
|
|
|
|
2023-03-09 15:21:05 +01:00
|
|
|
project(tipplektionen VERSION 1.0.0)
|
2023-03-08 21:01:11 +01:00
|
|
|
|
2023-03-09 15:21:05 +01:00
|
|
|
set(CMAKE_CXX_STANDARD 23)
|
2023-03-08 21:01:11 +01:00
|
|
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
2023-03-09 15:21:05 +01:00
|
|
|
add_compile_options(-Wall -Wextra -Wpedantic -Wsuggest-override)
|
2023-03-08 21:01:11 +01:00
|
|
|
|
2023-03-09 15:21:05 +01:00
|
|
|
find_package(Boost 1.74 COMPONENTS program_options REQUIRED)
|
|
|
|
find_package(ICU 70.0 COMPONENTS uc io REQUIRED)
|
2023-03-08 21:01:11 +01:00
|
|
|
|
|
|
|
set(SOURCES
|
|
|
|
main.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
add_executable(tipplektionen ${SOURCES})
|
|
|
|
target_include_directories(tipplektionen PRIVATE ${Boost_INCLUDE_DIR})
|
2023-03-09 15:21:05 +01:00
|
|
|
target_link_libraries(tipplektionen PRIVATE Boost::program_options ICU::uc ICU::io)
|