summaryrefslogtreecommitdiff
path: root/src/include/version.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/version.hpp')
-rw-r--r--src/include/version.hpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/include/version.hpp b/src/include/version.hpp
new file mode 100644
index 00000000..2270a592
--- /dev/null
+++ b/src/include/version.hpp
@@ -0,0 +1,20 @@
+/*
+ * MRustC - Rust Compiler
+ * - By John Hodge (Mutabah/thePowersGang)
+ *
+ * version.hpp
+ * - Compiler version number
+ */
+#pragma once
+
+#include <string>
+
+extern unsigned int giVersion_Major;
+extern unsigned int giVersion_Minor;
+extern unsigned int giVersion_Patch;
+extern const char* gsVersion_GitHash;
+extern const char* gsVersion_GitShortHash;
+extern const char* gsVersion_BuildTime;
+extern bool gbVersion_GitDirty;
+
+extern ::std::string Version_GetString();