Commit Graph

1 Commits (d96b86a8179b2f88aada53d0af057b29e14ab43f)

Author SHA1 Message Date
nirenjan ba936df6f8 Add Version file and associated scripts
When building from source, it is desired that we embed the version
string into the resulting binaries so that we can determine exactly what
version of the sources were used.

This change adds a Version file, which always holds the latest release
version, and a configure.version script, which tries to get the version
information from Git, before falling back to using the version embedded
in the above file. The generated configure script will then have the
version embedded within it, which will then create the BUILD_VERSION
definition in config.h. Applications can then use this definition as
needed.
2021-09-22 01:37:57 -07:00