VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vlRtiCompilerCheck.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2013 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #ifdef _WIN32
13 
14 #include "vlUtil.h"
15 
16 #ifdef DtUSE_UTILITIES_NAMESPACE
17 namespace DtUSE_UTILITIES_NAMESPACE
18 {
19 #endif
20 
21 class DtString;
22 class DtFilename;
23 
24 // MSVC++ 11.0 _MSC_VER = 1700 (Visual Studio 2012)
25 // MSVC++ 10.0 _MSC_VER = 1600 (Visual Studio 2010)
26 // MSVC++ 9.0 _MSC_VER = 1500 (Visual Studio 2008)
27 // MSVC++ 8.0 _MSC_VER = 1400 (Visual Studio 2005)
28 // MSVC++ 7.1 _MSC_VER = 1310 (Visual Studio 2003)
29 // MSVC++ 7.0 _MSC_VER = 1300
30 // MSVC++ 6.0 _MSC_VER = 1200
31 // MSVC++ 5.0 _MSC_VER = 1100
32 
33 #if _MSC_VER == 1310
34 #define MAJOR_VER 7
35 #define MINOR_VER 10
36 #define MSVC_VER "VC7"
37 #elif _MSC_VER == 1400
38 #define MAJOR_VER 8
39 #define MINOR_VER 0
40 #define MSVC_VER "VC8"
41 #elif _MSC_VER == 1500
42 #define MAJOR_VER 9
43 #define MINOR_VER 0
44 #define MSVC_VER "VC9"
45 #elif _MSC_VER == 1600
46 #define MAJOR_VER 10
47 #define MINOR_VER 0
48 #define MSVC_VER "VC10"
49 #elif _MSC_VER == 1700
50 #define MAJOR_VER 11
51 #define MINOR_VER 0
52 #define MSVC_VER "VC11"
53 #elif _MSC_VER == 1800
54 #define MAJOR_VER 12
55 #define MINOR_VER 0
56 #define MSVC_VER "VC12"
57 #else
58 #define MAJOR_VER 0
59 #define MINOR_VER 0
60 #define MSVC_VER "VC?"
61 #endif
62 
63 enum DtHLALib { DtHLA13, DtHLA1516, DtHLA1516e };
64 enum DtArchitecture { Dt32Bit, Dt64Bit };
65 
67 DT_DLL_VLUTIL bool checkRtiCompilerVersion(DtHLALib hlaLib, DtString& status);
68 
69 
72 DT_DLL_VLUTIL DtFilename DtSearchPathList( const DtFilename& libName,
73  const DtString& searchPath);
74 
77 DT_DLL_VLUTIL DtFilename DtLibPath(const DtString& libName);
78 
79 
80 #ifdef DtUSE_UTILITIES_NAMESPACE
81 }
82 #endif
83 
84 #endif // _WIN32

Document ID: Generated on Wed Jan 7 13:31:29 EST 2015 from SVN revision 149162
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)