Disable debug messages in release builds

Also correct / remove various debug messages
This commit is contained in:
Jonathan White 2022-03-22 15:09:53 -04:00
parent 097be1a5cd
commit 7d7c635423
5 changed files with 6 additions and 6 deletions

View file

@ -245,6 +245,9 @@ macro(check_add_gcc_compiler_flag FLAG)
endmacro(check_add_gcc_compiler_flag)
add_definitions(-DQT_NO_EXCEPTIONS -DQT_STRICT_ITERATORS -DQT_NO_CAST_TO_ASCII)
if(NOT IS_DEBUG_BUILD)
add_definitions(-DQT_NO_DEBUG_OUTPUT)
endif()
if(WITH_APP_BUNDLE)
add_definitions(-DWITH_APP_BUNDLE)