Hi, What's difference `RelWithDebInfo` and `Debug`...
# general
m
Hi, What's difference
RelWithDebInfo
and
Debug
?
z
I'm not certain, but I think
RelWithDebInfo
means that compiler optimizations are turned on and debug symbols are also left in place. Whereas
Debug
would turn off most compiler optimizations.
ty 1
s
Correct! Additionally
RelWithDebInfo
passes
NDEBUG
as with
Release
builds, so that things like asserts, or any other debug code is not compiled in.
ty 1