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
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to