summaryrefslogtreecommitdiff
path: root/CompilerInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'CompilerInfo.h')
-rw-r--r--CompilerInfo.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/CompilerInfo.h b/CompilerInfo.h
new file mode 100644
index 0000000..5209988
--- /dev/null
+++ b/CompilerInfo.h
@@ -0,0 +1,17 @@
+/** \file CompilerInfo.h
+\brief Define the compiler info
+\author alpha_one_x86
+\version 0.3
+\date 2010
+\licence GPL3, see the file COPYING */
+
+/// \def COMPILERINFO the string to identify the compiler
+#if defined(Q_CC_GNU)
+ #define COMPILERINFO QString("GCC build: ")+__DATE__+" "+__TIME__
+#else
+ #if defined(__DATE__) && defined(__TIME__)
+ #define COMPILERINFO QString("Unknow compiler: ")+__DATE__+" "+__TIME__
+ #else
+ #define COMPILERINFO QString("Unknow compiler")
+ #endif
+#endif