From 8db5d9249403e647192ab50758f88831b342577f Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 11 Aug 2024 16:26:12 +0200 Subject: cmake: set STL preprocessor debug flags more consistently --- userconfig-sthalik@Windows-Clang.cmake | 3 +++ 1 file changed, 3 insertions(+) (limited to 'userconfig-sthalik@Windows-Clang.cmake') 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($<$:-fassume-nothrow-exception-dtor>) endif() -- cgit v1.2.3