Giving -DCMAKE_BUILD_TYPE=Debug, when configuring on the console, creates a
debug configuration. This would cause, when building, to pass to the compiler
the options in CMAKE_CXX_FLAGS_DEBUG and CMAKE_C_FLAGS_DEBUG for C++ and C
respectively. Neither of these contain flags to produce debug symbols.
Shouldn't they contain "-g"?
Also on a side note in Debug, a flag for size optimization is pass, shouldn't
it be "-O0" for no optimization?
Original issue reported on code.google.com by bpetkant...@gmail.com on 4 Sep 2012 at 1:22
Original issue reported on code.google.com by
bpetkant...@gmail.com
on 4 Sep 2012 at 1:22