summaryrefslogtreecommitdiff
path: root/Jamrules.jam
diff options
context:
space:
mode:
authorarseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640>2012-03-07 05:59:09 +0000
committerarseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640>2012-03-07 05:59:09 +0000
commitca8d43ba03df6302235eeb667ef0573fc42bc8ad (patch)
tree831fc897094ed51d742c7722dd39be4e3753ec1e /Jamrules.jam
parent199b97a851f20bb5fa3d3f2d6dd0debb5a9f0ec3 (diff)
tests: Added MSVC11 variants to test suite
git-svn-id: http://pugixml.googlecode.com/svn/trunk@851 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'Jamrules.jam')
-rw-r--r--Jamrules.jam47
1 files changed, 41 insertions, 6 deletions
diff --git a/Jamrules.jam b/Jamrules.jam
index 19075b9..709c100 100644
--- a/Jamrules.jam
+++ b/Jamrules.jam
@@ -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" ;