I found that the current CMakeLists.txt doesn't set the debugging flags
correctly on OSX when using cmake to generate Xcode projects. This change
has the potential to affect all platforms, so it should be tested.

-Eric
#the old construct SUBDIRS( was substituded by ADD_SUBDIRECTORY that is to be 
preferred according on CMake docs.
FOREACH( mylibfolder 
        OpenThreads
        osg
        osgDB 
        osgUtil 
        osgGA 
        osgText 
        osgViewer
        osgAnimation 
        osgFX
        osgManipulator
        osgParticle
        osgShadow
        osgSim
        osgTerrain
        osgWidget
        osgVolume
        osgPlugins
    )

        ADD_SUBDIRECTORY(${mylibfolder})

ENDFOREACH()


OPTION(BUILD_OSG_WRAPPERS "Enable to build Introspection and Wrappers" OFF)
IF(BUILD_OSG_WRAPPERS)
    ADD_SUBDIRECTORY(osgIntrospection)
    ADD_SUBDIRECTORY(osgWrappers)
ENDIF()

IF(MSVC80)
  OPTION(OSG_MSVC_GENERATE_PLUGINS_AND_WRAPPERS_MANIFESTS "Generate or not 
manifests files under VS8 for dynamically loaded dlls" ON)
ENDIF()

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

Reply via email to