Browse Source
Change how version strings are generated.
Change how version strings are generated.
Git is always used to generate the KiCad version string using the command `git describe --dirty`. This gives a more concise and accurate version string than the previous method. When git is not available, the version string defaults to the value defined in KiCadVersion.cmake. It is imperative that moving forward that the default version string be updated the commit following a git tag so that when git is not available, the last known commit following a git tag will at least give some usable information about which development branch of KiCad was used for a build.pull/5/merge
3 changed files with 28 additions and 87 deletions
-
68CMakeModules/CreateGitVersionHeader.cmake
-
17CMakeModules/KiCadVersion.cmake
-
30CMakeModules/WriteVersionHeader.cmake
Write
Preview
Loading…
Cancel
Save
Reference in new issue