Skip to content

Debug build type does not pass debug flag to GCC #12

@GoogleCodeExporter

Description

@GoogleCodeExporter
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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions