File tree Expand file tree Collapse file tree 4 files changed +6
-21
lines changed
Expand file tree Collapse file tree 4 files changed +6
-21
lines changed Original file line number Diff line number Diff line change @@ -10,21 +10,6 @@ set(CMAKE_CXX_STANDARD 20)
1010set (CMAKE_CXX_EXTENSIONS OFF )
1111
1212include (FetchContent)
13-
14- set (FETCHCONTENT_UPDATES_DISCONNECTED TRUE )
15- FetchContent_Declare(ftxui
16- GIT_REPOSITORY https://github.com/ArthurSonzogni/ftxui
17- GIT_TAG v3.0.0
18- )
19-
20- FetchContent_GetProperties(ftxui)
21- if (NOT ftxui_POPULATED)
22- FetchContent_Populate(ftxui)
23- add_subdirectory (${ftxui_SOURCE_DIR} ${ftxui_BINARY_DIR} EXCLUDE_FROM_ALL )
24- endif ()
25-
26-
27-
2813# Note: by default ENABLE_DEVELOPER_MODE is True
2914# This means that all analysis (sanitizers, static analysis)
3015# is enabled and all warnings are treated as errors
@@ -128,10 +113,6 @@ dynamic_project_options(
128113
129114target_compile_features (project_options INTERFACE cxx_std_${CMAKE_CXX_STANDARD} )
130115
131- # We don't have any way of ensuring that all static dependencies are compiled with
132- # address sanitizer enabled.
133- target_compile_definitions (project_options INTERFACE _DISABLE_VECTOR_ANNOTATION)
134-
135116# configure files based on CMake configuration options
136117add_subdirectory (configured_files)
137118
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ docopt.cpp/0.6.3
77spdlog/1.10.0
88nlohmann_json/3.10.5
99lodepng/cci.20200615
10+ ftxui/3.0.0
1011
1112[generators]
1213cmake_find_package_multi
Original file line number Diff line number Diff line change 11find_package (fmt CONFIG)
2+ find_package (ftxui CONFIG)
23find_package (spdlog CONFIG)
34find_package (docopt CONFIG)
45find_package (lodepng CONFIG)
@@ -23,7 +24,7 @@ add_executable(
2324 game_hacking_lesson_01.hpp
2425 game_hacking_lesson_02.cpp
2526 game_hacking_lesson_02.hpp
26- tile_set.hpp
27+ tile_set.hpp
2728 game_components.cpp)
2829
2930target_link_libraries (
Original file line number Diff line number Diff line change 11find_package (Catch2 REQUIRED)
22
3- include (CTest)
3+ enable_testing ()
4+
5+ #include(CTest)
46include (Catch)
57
68add_library (catch_main OBJECT catch_main.cpp)
You can’t perform that action at this time.
0 commit comments