refactor: precondition checks and asserts cleanup

This commit is contained in:
Mateusz Pusz
2024-03-19 10:37:01 +09:00
parent fb97c2ea5a
commit a62fdd2331
5 changed files with 14 additions and 17 deletions

View File

@@ -42,9 +42,6 @@ enable_ccache(BASE_DIR ${PROJECT_SOURCE_DIR})
include(warnings)
set_warnings()
# set all contracts checking in a Debug build
add_compile_definitions($<$<CONFIG:Debug>:gsl_CONFIG_CONTRACT_CHECKING_AUDIT>)
# enable include-what-you-use
option(${projectPrefix}IWYU "Enables include-what-you-use" OFF)