Commit d45ee3b7 authored by Alexander A. Maly's avatar Alexander A. Maly

Modified C++ options on Mac for Debug build

Dropped those strange warning options and turned on -O1
parent 48d764c6
Pipeline #3414 passed with stages
in 3 minutes and 57 seconds
......@@ -25,7 +25,8 @@ 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 -UNDEBUG -UQT_NO_DEBUG")
set(KUMIR2_CXXFLAGS_Debug "-g -O0 -Werror -Wreorder -Wreturn-type -Wno-error=unused-variable -Wno-error=unused-parameter")
set(KUMIR2_CXXFLAGS_Debug "-g -O1")
#set(KUMIR2_CXXFLAGS_Debug "-g -O0 -Werror -Wreorder -Wreturn-type -Wno-error=unused-variable -Wno-error=unused-parameter")
# Linkage flags
#set(KUMIR2_LIBRARY_LINKER_FLAGS " -Wl,-rpath,'/'")
......
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