[osg-submissions] OpenSceneGraph/include/osg*/Version Fix

David Callu ledocc at gmail.com
Tue Sep 4 15:36:31 PDT 2007


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.orgwebsite.
> + *
> + * 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";
>  }
>
>  }
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20070905/757d45df/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CMakeLists.tgz
Type: application/x-gzip
Size: 1247 bytes
Desc: not available
Url : http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20070905/757d45df/attachment.bin 


More information about the osg-submissions mailing list