build: Enable asserts in release mode

This commit is contained in:
Lars Toenning
2025-12-20 11:08:35 +01:00
parent 527327321c
commit 62aaba7556
28 changed files with 35 additions and 3 deletions

View File

@@ -48,3 +48,9 @@ function(configure_target_platform)
endif()
endif()
endfunction()
macro(force_asserts TARGET)
if(SWIFT_FORCE_ASSERTS)
target_compile_definitions(${TARGET} PRIVATE QT_FORCE_ASSERTS)
endif()
endmacro()