← Back to team overview

kicad-developers team mailing list archive

Re: Version string updates.

 

So this does not allow to override the string entirely with a cmake
variable? Like in the PPA use case.

2016-11-25 15:24 GMT+01:00 Wayne Stambaugh <stambaughw@xxxxxxxxx>:
> 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
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp


Follow ups

References