Add timer to print how long the generation took

This commit is contained in:
Thraix
2018-06-10 16:51:44 +02:00
parent f77d3e8a3d
commit 73503f6f48
4 changed files with 32 additions and 2 deletions
+4 -1
View File
@@ -7,9 +7,12 @@
#define STRINGIFY(x) #x
#define STR(x) STRINGIFY(x)
// Major changes, probably not be backwards compatible
#define MAKEGEN_VERSION_MAJOR 1
// Release , should be backwards compatible with any minor version
#define MAKEGEN_VERSION_RELEASE 0
#define MAKEGEN_VERSION_MINOR 4
// Minor changes, should be compatible with any other minor version with same major and release.
#define MAKEGEN_VERSION_MINOR 5
#define MAKEGEN_VERSION ("v" STR(MAKEGEN_VERSION_MAJOR) "." STR(MAKEGEN_VERSION_RELEASE) "." STR(MAKEGEN_VERSION_MINOR))
const static unsigned int FLAG_HELP = BIT(0);