kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #26832
Version string updates.
In preparation for the next stable 4 release, I simplified the version
string code which means there are some differences for specifying
version string information at config time. The new code uses the
following CMake variables to build the version string:
${KICAD_VERSION}[-${KICAD_BRANCH_NAME}][-${KICAD_VERSION_EXTRA}]
where variables inside the brackets [] are optional and can be set at
configuration. The KICAD_VERSION variable is either set in the
KiCadVersion.cmake file or by git. It is not user configurable and is
always defined. When git is used to determine the version string,
KICAD_BRANCH_NAME is set to the git branch. In all other cases,
KICAD_BRANCH_NAME is empty. KICAD_VERSION_EXTRA is always set at
config. I updated the building from source doc if you need additional
information.
I'm hoping this is the last time I have to deal with this issue. It
should cover most if not all use cases. Please do not change this code
without checking with me first. If you find any issues, let me know so
I can get them resolved. Sorry for the inconvenience.
Cheers,
Wayne
Follow ups