[osg-users] SO version inconsistency

Robert Osfield robert.osfield at gmail.com
Wed Nov 18 08:03:15 PST 2009


Hi Paul and Alberto,

I've gone with the suggestion of using CMake to set the values.  I'm
just testing the changes and will check in soon.

Robert.

On Wed, Nov 18, 2009 at 3:20 PM, Alberto Luaces <aluaces at udc.es> wrote:
> Hi Paul,
>
> Paul Martz writes:
>
>> (I don't suppose there's a way we could make these share the same
>> source, sort of like was done with osg/Config...)
>
> Why not? It should be a matter of creating a Version.in file with this
> changes:
>
> #define OPENSCENEGRAPH_MAJOR_VERSION    @OPENSCENEGRAPH_MAJOR_VERSION@
> #define OPENSCENEGRAPH_MINOR_VERSION    @OPENSCENEGRAPH_MINOR_VERSION@
> #define OPENSCENEGRAPH_PATCH_VERSION    @OPENSCENEGRAPH_PATCH_VERSION@
> #define OPENSCENEGRAPH_SOVERSION        @OPENSCENEGRAPH_SOVERSION@
>
> and then calling the CMake command
>
> CONFIGURE_FILE(${PROJECT_SOURCE_DIR}/include/osg/Version.in
>    ${PROJECT_SOURCE_DIR}/include/osg/Version
>    @ONLY
>    )
>
> Regards,
>
> Alberto
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>


More information about the osg-users mailing list