diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2024-08-11 16:26:12 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-08-12 12:27:00 +0200 |
| commit | 8db5d9249403e647192ab50758f88831b342577f (patch) | |
| tree | c0accedd548d83116c74bd358159aa19796412cb /userconfig-sthalik@Windows-Clang.cmake | |
| parent | be453a48092212058538b1c28a691448071ebe33 (diff) | |
cmake: set STL preprocessor debug flags more consistently
Diffstat (limited to 'userconfig-sthalik@Windows-Clang.cmake')
| -rw-r--r-- | userconfig-sthalik@Windows-Clang.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/userconfig-sthalik@Windows-Clang.cmake b/userconfig-sthalik@Windows-Clang.cmake index 524ccf77..cb03a067 100644 --- a/userconfig-sthalik@Windows-Clang.cmake +++ b/userconfig-sthalik@Windows-Clang.cmake @@ -42,6 +42,9 @@ sets(STRING CMAKE_CXX_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}" ) +add_definitions(-D_LIBCPP_ENABLE_ASSERTIONS) +add_definitions(-D_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) + if(NOT CMAKE_CXX_COMPILER_VERSION LESS "18.0") add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-fassume-nothrow-exception-dtor>) endif() |
