libcamera/utils
Kieran Bingham b817bcec6b libcamera: Auto generate version information
Generate a version string, and provide a global string object which
allows applications to interrogate the current libcamera version
information.

The version header is automatically updated by meson on each build.
The string roughly follows the semver [0] conventions of
major.minor.patch-label as a value.

[0] https://semver.org/

A script (utils/gen-version.sh) is provided which is modelled upon the
processing from autoconf's git-version-gen. The gen-version.sh script
will look for tags in the form vX.Y as starting points for the version
string. While the repository does not have any matching tags, v0.0 will
be assumed, resulting in versions with both major and minor being set to
'0', and the patch count resulting from the number of patches in the
history to that point.

Finally, a uniquely identifying shortened hash is provided from git:

	v0.0.509+0ec0edf7

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2019-07-04 22:11:27 +01:00
..
hooks utils: hooks: Provide post-commit hook example to checkstyle.py 2019-01-30 10:57:37 +00:00
ipu3 utils: ipu3: process: Configure formats on ImgU subdev pads 2018-12-11 15:58:19 +02:00
rkisp1 utils: rkisp1: Add test capture script 2019-03-29 16:39:10 +02:00
checkstyle.py utils: checkstyle.py: Add pep8 checker 2019-07-04 21:49:34 +01:00
gen-version.sh libcamera: Auto generate version information 2019-07-04 22:11:27 +01:00
meson.build utils: ipu3: Add IPU3 raw capture unpack utility 2018-11-20 03:06:41 +02:00