Re: [CMake] Getting the svn revision number of our source.

2014-07-02 Thread Eric Noulard
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

Re: [CMake] Getting the svn revision number of our source.

2014-07-02 Thread Marcel Loose
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.

Re: [CMake] Getting the svn revision number of our source.

2014-07-02 Thread Rolf Eike Beer
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

[CMake] Getting the svn revision number of our source.

2014-07-01 Thread 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 line client is # available. This version will

Re: [CMake] Getting the svn revision number of our source.

2014-07-01 Thread Michael Oldfield
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