[osg-submissions] CMakeLists.txt - support for Visual Studio /MP option

sherman wilcox wilcox.sherman at gmail.com
Thu Apr 10 08:04:33 PDT 2008


Here is a patch for cmakelists.txt to add support for the /MP option
in Microsoft compilers as discussed in osg-users. There is now an
advanced option called WIN32_USE_MP (which defaults to OFF) that will
enable the /MP switch for all builds. I tucked this code block safely
within a IF(WIN32) branch.

Feel free to modify as necessary.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CMakeLists.txt
Url: http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20080410/79dff7d9/attachment-0001.txt 


More information about the osg-submissions mailing list