Robert,

Here is the corrected CMakeLists.txt file for compiling debug on the Mac. (I
had not checked the correct file when I replied to you last.)

-Eric

On Tue, Apr 14, 2009 at 11:58 AM, Eric Sokolowsky <[email protected]>wrote:

> Robert Osfield wrote:
> > Hi Eric,
> >
> > This src/CMakeList.txt file is identical to the one in svn/trunk.  Did
> you
> > send the wrong file?   Or is the one in svn/trunk OK?
>
> It looks like the one in trunk is OK. Perhaps the changes got rolled
> into another fix that I submitted. Thanks.
>
> -Eric
>
> >
> > Robert.
> >
> > On Tue, Mar 24, 2009 at 2:31 PM, Eric Sokolowsky <[email protected]>
> wrote:
> >
> >> 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