mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-08-13 04:55:44 +08:00
build: Enable asserts in release mode
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user