summaryrefslogtreecommitdiffhomepage
path: root/userconfig-sthalik@Windows-Clang.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'userconfig-sthalik@Windows-Clang.cmake')
-rw-r--r--userconfig-sthalik@Windows-Clang.cmake3
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()