Add version.{h,cpp}: Returning version info

This commit is contained in:
2021-10-03 23:01:19 +02:00
parent 3d0fce590b
commit fa5e75893f
4 changed files with 21 additions and 5 deletions

7
version.h Normal file
View File

@@ -0,0 +1,7 @@
#ifndef VERSION_H
#define VERSION_H
#include <string>
std::string git_commit_id();
std::string get_version_string();
#endif // VERSION_H