[osg-submissions] Adding soversion support to osgversion
Robert Osfield
robert.osfield at gmail.com
Tue Sep 11 09:24:21 PDT 2007
On 9/11/07, Mike Wittman <mwittman at seismicmicro.com> wrote:
> The changes sound sensible to me. I wasn't sure how you would want to
> handle this, so I just tried to minimize future maintenance by not
> duplicating version information.
Duplication of version info is a pain, the is awkward to avoid if you
want the version info embedded in the Version file for #ifdef purposes
in user code. One possibility might be to write a script that seeds
the version values in the header from the CMake file, I haven't
investigated this yet - it'd take more time that it does to simply
open to two files in an editor... and adjust a single number in each
one.
Robert.
More information about the osg-submissions
mailing list