Implemented a VisualizationRequest system to determine if data should be used.
[aesalon.git] / version_info.sh
blobc770464e5b3d4d7aee144fd8ad8e9e258653cd03
1 #!/bin/sh
2 echo "# Automatically generated on " $(date) > version_info
3 echo "set(AESALON_MAJOR_VERSION 0)" >> version_info
4 echo "set(AESALON_MINOR_VERSION 0)" >> version_info
5 echo "set(AESALON_PATCHLEVEL 0)" >> version_info
7 git describe --tags --abbrev=0 --match 'version_*' | awk -F '_' '{print $2}' | awk -F '.' '{ print "set(AESALON_MAJOR_VERSION " $1 ")\nset(AESALON_MINOR_VERSION " $2 ")\nset(AESALON_PATCHLEVEL " $3 ")" }' >> version_info