Hi,

I patched the cmake configuration to support folders, which are really handy to 
organize the many projects in the OSG solution into examples, applications and 
core libs in the IDE.
This feature has been introduced to cmake in 2.8.3, on older versions it should 
be ignored silently. I tested on Visual Studio 2008 with cmake 2.8.3 and 2.8.4.

See the screenshots for comparison [img]osg_solution.png[/img]

This needs few changes:

activate on global cmakelist.txt: 

[code]set_property(GLOBAL PROPERTY USE_FOLDERS On)[/code]

set appropriate folder names for project type in osgMacroUtils.cmake: 

[code]SET_TARGET_PROPERTIES(${CORELIB_NAME} PROPERTIES FOLDER "OSG Core")[/code]

similar for examples, applications

Thanks,
Tassilo

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=37090#37090




Attachments: 
http://forum.openscenegraph.org//files/buildpatch_131.zip
http://forum.openscenegraph.org//files/osg_solution_944.png


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

Reply via email to