caffe does not print its version. Current behaviour: ``` $ caffe --version caffe ``` The expected behaviour would be to print the git hash. ``` $ caffe --version caffe version rc2-470-g6a5425f ``` This issue can be resolved by setting gflags::SetVersionString. The git hash can be obtained by `git describe --tags`. See this stackoverflow question for greater detail: http://stackoverflow.com/questions/1435953/how-can-i-pass-git-sha1-to-compiler-as-definition-using-cmake