-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/29/2014 02:51 PM, Glenn Waldron wrote:
> They just add the /MP and /DYNAMICBASE flags to CMAKE_CXX_FLAGS, 
> respectively. Not sure why they are in OSG's CMake.
> 

These are Visual Studio specific flags:

/MP - enables parallel compilation
/DYNAMICBASE - enables address space randomization (defence against
buffer overflow exploits)

Why they are in the CMake - well because /MP most people compiling on
Windows will want in order to speed up the horribly slow compilation
using Visual C++ and /DYNAMICBASE is a good thing in general for
libraries.

They are in the Windows-specific part of the CMake build, so you don't
need to worry about these settings if you are not on Windows. Other
platforms have similar things in the CMake.

Regards,

J.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iD8DBQFUAIMGn11XseNj94gRAl+KAKCoNF5PFiJ2+txI2CuRXhRWShQd6gCdE2pe
TnC05xhAoVShwd1iGbwjV10=
=A4e2
-----END PGP SIGNATURE-----
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to