Tellurium Plugin C++ API  1.0.0
 All Classes Files Functions Variables Friends Pages
telVersionInfo.h
1 #ifndef telVersionInfoH
2 #define telVersionInfoH
3 #include "telCoreExporter.h"
4 #include <string>
5 
6 namespace tlp {
7 
8 #define TLP_VERSION_STR "1.0.13"
9 
10 #if defined(__llvm__)
11  #define TLP_COMPILER "clang"
12 #endif
13 
14 #if defined(__GNUC__) && !defined(__llvm__)
15  #define TLP_COMPILER "gcc"
16 #endif
17 
18 #if defined (_MSC_VER)
19  #if (_MSC_VER == 1700)
20  #define TLP_COMPILER "Microsoft Visual Studio 2012"
21  #elif (_MSC_VER == 1600)
22  #define TLP_COMPILER "Microsoft Visual Studio 2010"
23  #elif (_MSC_VER == 1500)
24  #define TLP_COMPILER "Microsoft Visual Studio 2008"
25  #elif (_MSC_VER == 1400)
26  #define TLP_COMPILER "Microsoft Visual Studio 2005"
27  #elif (_MSC_VER == 1310)
28  #define TLP_COMPILER "Microsoft Visual Studio 2003"
29  #else
30  #define TLP_COMPILER "Microsoft Visual Studio Unknown Version"
31  #endif
32 #endif
33 
34 #if defined (__BORLANDC__)
35  #define TLP_COMPILER "Borland"
36 #endif
37 
38 #if !defined(TLP_COMPILER)
39  #define TLP_COMPILER "Unknown compiler"
40 #endif
41 
42 
46 CORE_DECLSPEC std::string getVersion();
47 
51 CORE_DECLSPEC std::string getCopyright();
52 
53 
54 }
55 
56 #endif