Added FreeObserver() and all assorted code that goes with it.
[aesalon.git] / version_info.sh
blob91322c8d0552704c0ca19a866dc2303501f0c9c5
1 #!/bin/sh
2 echo "# Automatically generated on " $(date) > version_info
3 git tag -l 'version_*'|sort -r | head -n 1 | awk -F '_' '{print $2}' | awk -F '.' '{ print "set(AESALON_MAJOR_VERSION " $1 ")\nset(AESALON_MINOR_VERSION " $2 ")\nset(AESALON_PATCHLEVEL " $3 ")" }' >> version_info