Enable C++20 and use cmake 4

This commit is contained in:
2025-07-29 22:34:54 +02:00
parent 692edeb8e1
commit c1367e494e
7 changed files with 179 additions and 210 deletions

View File

@@ -4,7 +4,7 @@
FetchContent_Declare(ftxui
GIT_REPOSITORY https://github.com/ArthurSonzogni/ftxui
GIT_TAG v6.1.8
GIT_TAG v6.1.9
GIT_PROGRESS TRUE
GIT_SHALLOW TRUE
EXCLUDE_FROM_ALL
@@ -18,7 +18,8 @@ FetchContent_Declare(toml11
)
FetchContent_MakeAvailable(toml11)
add_executable(katja-cli main.cpp component.hpp component.cpp page.hpp page.cpp)
add_executable(katja-cli main.cpp component.hpp component.cpp)
target_sources(katja-cli PUBLIC FILE_SET all_my_modules TYPE CXX_MODULES FILES page.cpp)
target_include_directories(katja-cli PRIVATE ${Boost_INCLUDE_DIR})
target_link_libraries(katja-cli
LINK_PUBLIC katja