Improve overflow handling / CLAY_MAX_ELEMENT_COUNT exceeded (#52)

This commit is contained in:
Nic Barker 2024-12-01 21:05:56 +13:00 committed by GitHub
parent 51c5355686
commit b8725bfb65
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 167 additions and 96 deletions

View file

@ -24,7 +24,7 @@ target_compile_options(clay_examples_raylib_sidebar_scrolling_container PUBLIC)
target_include_directories(clay_examples_raylib_sidebar_scrolling_container PUBLIC .)
target_link_libraries(clay_examples_raylib_sidebar_scrolling_container PUBLIC raylib)
set(CMAKE_CXX_FLAGS_DEBUG "-Wall -Werror -DCLAY_DEBUG -DCLAY_OVERFLOW_TRAP")
set(CMAKE_CXX_FLAGS_DEBUG "-Wall -Werror -DCLAY_DEBUG")
set(CMAKE_CXX_FLAGS_RELEASE "-O3")
add_custom_command(