many changes
This commit is contained in:
parent
9a6420410c
commit
06c7e144db
1 changed files with 7 additions and 5 deletions
|
@ -1,11 +1,13 @@
|
|||
cmake_minimum_required(VERSION 3.24)
|
||||
cmake_minimum_required(VERSION 3.22)
|
||||
|
||||
project(tipplektionen VERSION 0.0.1)
|
||||
project(tipplektionen VERSION 1.0.0)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
set(CMAKE_CXX_STANDARD 23)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
add_compile_options(-Wall -Wextra -Wpedantic -Wsuggest-override)
|
||||
|
||||
find_package(Boost 1.80 COMPONENTS program_options REQUIRED)
|
||||
find_package(Boost 1.74 COMPONENTS program_options REQUIRED)
|
||||
find_package(ICU 70.0 COMPONENTS uc io REQUIRED)
|
||||
|
||||
set(SOURCES
|
||||
main.cpp
|
||||
|
@ -13,4 +15,4 @@ set(SOURCES
|
|||
|
||||
add_executable(tipplektionen ${SOURCES})
|
||||
target_include_directories(tipplektionen PRIVATE ${Boost_INCLUDE_DIR})
|
||||
target_link_libraries(tipplektionen PRIVATE Boost::program_options)
|
||||
target_link_libraries(tipplektionen PRIVATE Boost::program_options ICU::uc ICU::io)
|
Loading…
Reference in a new issue