1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-22 11:45:56 +01:00
Grid/Grid/util/version.cc
2020-04-09 23:25:25 +02:00

13 lines
293 B
C++

#include <iostream>
//#include "Version.h"
namespace Grid {
void printHash(){
#ifdef GITHASH
std::cout << "Current Grid git commit hash=" << GITHASH << std::endl;
#else
std::cout << "Current Grid git commit hash is undefined. Check makefile." << std::endl;
#endif
#undef GITHASH
}
}