Hi,

Mathias Fröhlich wrote:
Hi,

On Monday 09 February 2009 23:54, Pecoraro, Alexander N wrote:
On Linux this translated to "-O3 -DNDEBUG" (at least that's what
cmake-gui says is defined for the CMAKE_CXX_FLAGS_RELEASE variable).
May be I know cmake to little, but the only way to really make sure I got cmake correct was to set CMAKE_VERBOSE_MAKEFILE=TRUE and see how the build scripts really call the compiler.

you can also run make <other options> VERBOSE=1
on the normal cmake generated Makefile.

jp


Robert,
I know that it is a matter of taste if one sets this flag. But may be it will help people to catch unoptimized builds due to the possible intransparency of cmakes compile flags handling. So should that be on by default?

Greetings

Mathias


--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support.

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

Reply via email to