File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ if (!CL) {
15
15
// 1310 is vs.net 2003
16
16
// 1400 is vs.net 2005
17
17
// 1500 is vs.net 2008
18
+ // 1600 is vs.net 2010
18
19
// Which version of the compiler do we have?
19
20
VCVERS = probe_binary ( CL ) . substr ( 0 , 5 ) . replace ( '.' , '' ) ;
20
21
STDOUT . WriteLine ( " Detected compiler " + VC_VERSIONS [ VCVERS ] ) ;
Original file line number Diff line number Diff line change @@ -41,13 +41,15 @@ VC_VERSIONS[1300] = 'MSVC7 (Visual C++ 2002)';
41
41
VC_VERSIONS [ 1310 ] = 'MSVC7.1 (Visual C++ 2003)' ;
42
42
VC_VERSIONS [ 1400 ] = 'MSVC8 (Visual C++ 2005)' ;
43
43
VC_VERSIONS [ 1500 ] = 'MSVC9 (Visual C++ 2008)' ;
44
+ VC_VERSIONS [ 1600 ] = 'MSVC10 (Visual C++ 2010)' ;
44
45
45
46
var VC_VERSIONS_SHORT = new Array ( ) ;
46
47
VC_VERSIONS_SHORT [ 1200 ] = 'VC6' ;
47
48
VC_VERSIONS_SHORT [ 1300 ] = 'VC7' ;
48
49
VC_VERSIONS_SHORT [ 1310 ] = 'VC7.1' ;
49
50
VC_VERSIONS_SHORT [ 1400 ] = 'VC8' ;
50
51
VC_VERSIONS_SHORT [ 1500 ] = 'VC9' ;
52
+ VC_VERSIONS_SHORT [ 1600 ] = 'VC10' ;
51
53
52
54
if ( PROGRAM_FILES == null ) {
53
55
PROGRAM_FILES = "C:\\Program Files" ;
You can’t perform that action at this time.
0 commit comments