Grid 0.7.0
version.cc
Go to the documentation of this file.
1#include <iostream>
2#include "Version.h"
3namespace Grid {
4 void printHash(){
5#ifdef GITHASH
6 std::cout << "Current Grid git commit hash=" << GITHASH << std::endl;
7#else
8 std::cout << "Current Grid git commit hash is undefined. Check makefile." << std::endl;
9#endif
10#undef GITHASH
11}
12}
void printHash()
Definition version.cc:4