Skip to content
Snippets Groups Projects
Commit ca8d43ba authored by arseny.kapoulkine@gmail.com's avatar arseny.kapoulkine@gmail.com
Browse files

tests: Added MSVC11 variants to test suite

git-svn-id: http://pugixml.googlecode.com/svn/trunk@851 99668b35-9821-0410-8761-19e4c4f06640
parent 199b97a8
No related branches found
No related tags found
No related merge requests found
......@@ -180,18 +180,41 @@ else if ( $(toolset:I=^msvc) )
if ( $(toolset:I=x64$) )
{
postfix = "\\amd64" ;
lib_postfix = "\\amd64" ;
sdk_postfix = "\\x64" ;
kits_postfix = "\\x64" ;
LDFLAGS += /MACHINE:X64 ;
}
else if ( $(toolset:I=arm$) )
{
postfix = "\\x86_arm" ;
lib_postfix = "\\arm" ;
sdk_postfix = "\\arm" ;
kits_postfix = "\\arm" ;
LDFLAGS += /MACHINE:ARM ;
}
else
{
postfix = "" ;
lib_postfix = "" ;
sdk_postfix = "" ;
kits_postfix = "\\x86" ;
}
LDFLAGS += "/LIBPATH:\"%$(toolset)_PATH%\\lib$(postfix)\"" ;
LDFLAGS += "/LIBPATH:\"%$(toolset)_PATH%\\PlatformSDK\\lib$(postfix)\"" ;
LDFLAGS += "/LIBPATH:\"%WINSDK_PATH%\\lib$(sdk_postfix)\"" ;
LDFLAGS += "/LIBPATH:\"%$(toolset)_PATH%\\lib$(lib_postfix)\"" ;
if ( $(toolset:I=msvc(6|7)) )
{
LDFLAGS += "/LIBPATH:\"%$(toolset)_PATH%\\PlatformSDK\\lib$(lib_postfix)\"" ;
}
else if ( $(toolset:I=msvc(8|9|10)) )
{
LDFLAGS += "/LIBPATH:\"%WINSDK_PATH%\\lib$(sdk_postfix)\"" ;
}
else
{
LDFLAGS += "/LIBPATH:\"%WINKITS_PATH%\\lib\\win8\\um$(kits_postfix)\"" ;
}
}
rule GetCFlags CONFIG : DEFINES
......@@ -261,8 +284,20 @@ else if ( $(toolset:I=^msvc) )
else
{
RESULT += "/I\"%$(toolset)_PATH%\\include\"" ;
RESULT += "/I\"%$(toolset)_PATH%\\PlatformSDK\\include\"" ;
RESULT += "/I\"%WINSDK_PATH%\\Include\"" ;
if ( $(toolset:I=msvc(6|7)) )
{
RESULT += "/I\"%$(toolset)_PATH%\\PlatformSDK\\include\"" ;
}
else if ( $(toolset:I=msvc(8|9|10)) )
{
RESULT += "/I\"%WINSDK_PATH%\\Include\"" ;
}
else
{
RESULT += "/I\"%WINKITS_PATH%\\include\\shared\"" ;
RESULT += "/I\"%WINKITS_PATH%\\include\\um\"" ;
}
}
return $(RESULT) ;
......@@ -759,7 +794,7 @@ if ( $(UNIX) )
}
else
{
if ( $(toolset:I=(^xbox360|^ps3|wince|^android|^bada|^blackberry$)) )
if ( $(toolset:I=(^xbox360|^ps3|wince$|arm$|^android|^bada|^blackberry)) )
{
RUNRESULT = "skiprun" ;
......
......@@ -34,7 +34,7 @@ sub getcpucount
undef;
}
@alltoolsets = ($^O =~ /MSWin/) ? (bcc, cw, dmc, ic8, ic9, ic9_x64, ic10, ic10_x64, ic11, ic11_x64, mingw34, mingw44, mingw45, mingw45_0x, mingw46_x64, msvc6, msvc7, msvc71, msvc8, msvc8_x64, msvc9, msvc9_x64, msvc10, msvc10_x64, msvc10_clr, msvc10_clr_x64, xbox360, ps3_gcc, ps3_snc, msvc8_wince, bada, blackberry, android, android_stlport) : ($^O =~ /solaris/) ? (suncc, suncc_x64) : &gcctoolset();
@alltoolsets = ($^O =~ /MSWin/) ? (bcc, cw, dmc, ic8, ic9, ic9_x64, ic10, ic10_x64, ic11, ic11_x64, mingw34, mingw44, mingw45, mingw45_0x, mingw46_x64, msvc6, msvc7, msvc71, msvc8, msvc8_x64, msvc9, msvc9_x64, msvc10, msvc10_x64, msvc10_clr, msvc10_clr_x64, msvc11, msvc11_x64, msvc11_clr, msvc11_clr_x64, msvc11_arm, xbox360, ps3_gcc, ps3_snc, msvc8_wince, bada, blackberry, android, android_stlport) : ($^O =~ /solaris/) ? (suncc, suncc_x64) : &gcctoolset();
$fast = scalar grep(/^fast$/, @ARGV);
@toolsets = map { /^fast$/ ? () : ($_) } @ARGV;
......
......@@ -11,6 +11,7 @@ sub prettysuffix
return " CLR x64" if ($suffix eq '_clr_x64');
return " PPC" if ($suffix eq '_ppc');
return " WinCE" if ($suffix eq '_wince');
return " ARM" if ($suffix eq '_arm');
return "";
}
......@@ -58,6 +59,8 @@ sub prettyplatform
return "x360" if ($toolset =~ /^xbox360/);
return "ps3" if ($toolset =~ /^ps3/);
return "arm" if ($toolset =~ /_arm$/);
return "arm" if ($toolset =~ /_wince$/);
return "arm" if ($toolset =~ /^android/);
return "arm" if ($toolset =~ /^bada/);
return "arm" if ($toolset =~ /^blackberry/);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment