diff options
author | vnugent <public@vaughnnugent.com> | 2024-11-04 21:59:06 -0500 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2024-11-04 21:59:06 -0500 |
commit | d44de588fc5e672a2c5e687cfec58173a495ee7c (patch) | |
tree | 01054207435bb14310751f5b8de465da2986ee72 /CMakeLists.txt | |
parent | 7a01c636f60a706f4eda2ad0e56afeffd22d30d1 (diff) |
update dependencies and changelog for release
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8c2e700..77b3d48 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -271,10 +271,8 @@ if(MSVC) list(APPEND _NC_COMPILE_OPTS /sdl #enable additional security checks /TC #compile as c - /GS #buffer security check + /GS #buffer security check - $<$<CONFIG:Debug>:/fsanitize=address> - $<$<CONFIG:Debug>:/FC> #show full path in diagnostics $<$<CONFIG:Debug>:/showIncludes> #show a list of all included header files during build @@ -307,11 +305,11 @@ elseif(CMAKE_COMPILER_IS_GNUCC) if(build_type STREQUAL "debug") list(APPEND _NC_COMPILE_OPTS - -g - -Og - -Wall - -Werror - -pedantic + -g # enable debug info + -Og # disable all optimizations + -Wall # enable all warnings + -Werror # warnings as errors + -pedantic # enable pedantic warnings ) endif() endif() |