Commit 99624d67 authored by Alexander A. Maly's avatar Alexander A. Maly

Turned off NDEBUG and QT_NO_DEBUG for Mac

in Release mode
parent d681abf9
Pipeline #2826 failed with stages
in 2 minutes and 12 seconds
......@@ -24,7 +24,7 @@ set(KUMIR2_SDK_CMAKE_DIR "${KUMIR2_RESOURCES_DIR}/devel/cmake")
# Compile flags
set(KUMIR2_CXXFLAGS "-fno-exceptions -std=c++0x -fPIC -DAPPLE -Wall -Wno-inconsistent-missing-override -DQT_NO_DEPRECATED_WARNINGS")
set(KUMIR2_CXXFLAGS_Release "-O2 -DNDEBUG -DQT_NO_DEBUG")
set(KUMIR2_CXXFLAGS_Release "-O2 -UNDEBUG -UQT_NO_DEBUG")
set(KUMIR2_CXXFLAGS_Debug "-g -O0 -Werror -Wreorder -Wreturn-type -Wno-error=unused-variable -Wno-error=unused-parameter")
# Linkage flags
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment