Hi,
CMAKE_CXX_FLAGS_RELEASE and CMAKE_CXX_FLAGS_DEBUG are appended to
CMAKE_CXX_FLAGS if the buildtype is release or debug.
Now let's say I'd like to have the following flags:
default: -Wall -fno-rtti -O2 -g
release: -Wall -fno-rtti -O2
debug: -Wall -fno-rtti -O0 -g
I can't set
Alexander Neundorf wrote:
Hi,
CMAKE_CXX_FLAGS_RELEASE and CMAKE_CXX_FLAGS_DEBUG are appended to
CMAKE_CXX_FLAGS if the buildtype is release or debug.
Now let's say I'd like to have the following flags:
default: -Wall -fno-rtti -O2 -g
release: -Wall -fno-rtti -O2
debug: -Wall