On Fri, Jan 18, 2013 at 5:24 AM, Lv Qing <[email protected]> wrote:

> Hi,
>
>      When I cmake the osg source under Linux,it seems to bulid the release
> version by default.Just want to know how to bulid the debug version :)
>

Run ccmake or cmake-gui and change build type variable to Debug. You can
also do it using regular cmake using a command line argument/define, but I
don't recall the syntax from memory. However, I believe that, unless OSG
sets this explicitly, the CMake default is a debug build if nothing is
specified explicitly.

Regards,

Jan
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to