May be you can avoid localized output by setting LANG env var to C.
Or you can ask svn for xml output which may not be localized e.g.
# Get the SVN revision number of an svn command line client is
# available. This version will run at build time rather than only
# at configuration generation
Hi,
The command
SET(ENV{LC_ALL} C)
somewhere inside your cmake macro will do the trick. If you really care
about the original contents of LC_ALL you should save it first and
restore once your done.
BTW: you might consider using the Subversion_WC_INFO() macro in the
FindSubversion module.
Am 02.07.2014 01:04, schrieb Rick McGuire:
We like to include the SVN revision number in our build artifacts to
help
keep track of what version people are working with. I found the
following
code on the mailing lists which appears to work fine:
# Get the SVN revision number of an svn command
We like to include the SVN revision number in our build artifacts to help
keep track of what version people are working with. I found the following
code on the mailing lists which appears to work fine:
# Get the SVN revision number of an svn command line client is
# available. This version will
On 02/07/14 09:04, Rick McGuire wrote:
We like to include the SVN revision number in our build artifacts to
help keep track of what version people are working with. I found the
following code on the mailing lists which appears to work fine:
# Get the SVN revision number of an svn command