[osg-submissions] OpenSceneGraph/include/osg*/Version Fix
Robert Osfield
robert.osfield at gmail.com
Wed Sep 5 09:47:17 PDT 2007
Thanks David, all the improvements to Version should now be merged and
checked in.
On 9/4/07, David Callu <ledocc at gmail.com> wrote:
> oups forget the CMakeLists.txt to add new Version.cpp files
> I jointed them
>
> Cheers
> David Callu
>
> 2007/9/4, David Callu <ledocc at gmail.com >:
> > Hi Robert,
> >
> > - missing Version files,
> > - text correction (example 1)
> > - missing header (example 2)
> > - little arrangement for consistence (example 3)
> >
> >
> > example 1 :
> >
> > [ledocc at ledocc-home 19:55 44]
> ~/graphisme/osg/SVN/OpenSceneGraph/include/osgSim >svn diff
> VersionIndex: Version
> >
> ===================================================================
> > --- Version (révision 7360)
> > +++ Version (copie de travail)
> > @@ -28,10 +28,10 @@
> > * Here is the code to add to your configure.in:
> > \verbatim
> > #
> > - # Check for the OpenSceneGraph-Sim library
> > + # Check for the OpenSceneGraph (OSG) Sim library
> > #
> > AC_CHECK_LIB(osg, osgSimGetVersion, ,
> > - [AC_MSG_ERROR(OpenSceneGraph library not found. See
> http://www.openscenegraph.org)],)
> > + [AC_MSG_ERROR(OpenSceneGraph Sim library not found. See
> http://www.openscenegraph.org)],)
> > \endverbatim
> > */
> > extern OSGSIM_EXPORT const char* osgSimGetVersion();
> >
> >
> >
> >
> >
> > example 2 :
> >
> > [ledocc at ledocc-home 19:57 52]
> ~/graphisme/osg/SVN/OpenSceneGraph/src/osgViewer >svn diff
> Version.cpp
> > Index: Version.cpp
> >
> ===================================================================
> > --- Version.cpp (révision 7360)
> > +++ Version.cpp (copie de travail)
> > @@ -1,3 +1,15 @@
> > +/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
> > + *
> > + * This library is open source and may be redistributed and/or modified
> under
> > + * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
> > + * (at your option) any later version. The full license is in LICENSE
> file
> > + * included with this distribution, and on the openscenegraph.org
> website.
> > + *
> > + * This library is distributed in the hope that it will be useful,
> > + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> > + * OpenSceneGraph Public License for more details.
> > +*/
> > #include <osgViewer/Version>
> > #include <osg/Version>
> >
> >
> >
> >
> > example 3:
> >
> > [ledocc at ledocc-home 19:58 55]
> ~/graphisme/osg/SVN/OpenSceneGraph/src/osgGA >svn diff
> Version.cpp
> > Index: Version.cpp
> >
> ===================================================================
> > --- Version.cpp (révision 7360)
> > +++ Version.cpp (copie de travail)
> > @@ -24,7 +24,7 @@
> >
> > const char* osgGAGetLibraryName()
> > {
> > - return "OpenSceneGraph Gui Adapter Library";
> > + return "OpenSceneGraph GA (Gui Adapter) Library";
> > }
> >
> > }
> >
> >
>
>
> _______________________________________________
> osg-submissions mailing list
> osg-submissions at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
>
More information about the osg-submissions
mailing list