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

