Nick, I’ve listened your complain about the wrong result in version.h and therefore in the kicad application title when you checkout a previous revision of the code. I personally found your patch functionally correct, if no one will disregard in the next days with your patch I think we could proceed to use it.
Thank your for your contribution, — Marco On 25/dic/2013, at 01:27, Nick Østergaard <[email protected]> wrote: > > Hello Marco > > I have made a proposed patch for the revision number generated by the cmake > scripts. Here attached. > > Background information: > The current cmake scripts that generate the bzr revision number to be > displayed in the version info in kicad showed only the (HEAD) revision of the > repository, and not the working tree. This is not any good if one tries to > checkout an older version and build and then forgets what he has build. > > I have modified such that it grabs the tree version, which is the version > checked out with bzr update -r1337 or whatever revision you are interrested > in. > > I am new to cmake, so patch might not be ideal, but it works! > > Nick Østergaard > <bzr-revno.patch> _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

