tests: Added msvcN_x64 support

git-svn-id: http://pugixml.googlecode.com/svn/trunk@209 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
arseny.kapoulkine 2009-11-08 09:12:43 +00:00
parent 576f952c2d
commit d132a265db

View file

@ -74,19 +74,31 @@ else if ( $(toolset:I=^msvc) )
CCFLAGS += /D_HAS_EXCEPTIONS=0 ;
}
if ( $(toolset:I=x64$) )
{
postfix = "\\amd64" ;
sdk_postfix = "\\x64" ;
LDFLAGS += /MACHINE:X64 ;
}
else
{
postfix = "" ;
sdk_postfix = "" ;
}
actions ObjectAction
{
"%$(toolset)_PATH%\bin\cl.exe" /WX /I"%$(toolset)_PATH%\include" /c $(>) /Fo$(<) /nologo $(CCFLAGS)
"%$(toolset)_PATH%\bin$(postfix)\cl.exe" /WX /I"%$(toolset)_PATH%\include" /c $(>) /Fo$(<) /nologo $(CCFLAGS)
}
actions LibraryAction
{
"%$(toolset)_PATH%\bin\lib.exe" /NOLOGO /OUT:$(<) $(>)
"%$(toolset)_PATH%\bin$(postfix)\lib.exe" /NOLOGO /OUT:$(<) $(>)
}
actions LinkAction
{
"%$(toolset)_PATH%\bin\link.exe" /SUBSYSTEM:CONSOLE /NOLOGO /OUT:$(<) $(>) /LIBPATH:"%$(toolset)_PATH%\lib" /LIBPATH:"%$(toolset)_PATH%\PlatformSDK\lib" $(LDFLAGS)
"%$(toolset)_PATH%\bin$(postfix)\link.exe" /SUBSYSTEM:CONSOLE /NOLOGO /OUT:$(<) $(>) /LIBPATH:"%$(toolset)_PATH%\lib$(postfix)" /LIBPATH:"%$(toolset)_PATH%\PlatformSDK\lib" /LIBPATH:"%WINSDK_PATH%\Lib$(sdk_postfix)" $(LDFLAGS)
}
actions CoverageAction