Build system fixes (old-style debug format for MSVC, removed Wp64 for MSVC9/10)

git-svn-id: http://pugixml.googlecode.com/svn/trunk@396 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
arseny.kapoulkine 2010-05-09 17:26:08 +00:00
parent 427714178e
commit 78057035d2

View File

@ -59,7 +59,7 @@ else if ( $(toolset:I=^msvc) )
if ( $(fulldebug) )
{
CCFLAGS += /Zi ;
CCFLAGS += /Z7 ;
LDFLAGS += /DEBUG ;
}
@ -72,9 +72,14 @@ else if ( $(toolset:I=^msvc) )
CCFLAGS += /DNDEBUG /Ox /MT ;
}
if ( $(toolset) = msvc7 || $(toolset) = msvc71 || $(toolset) = msvc8 )
{
CCFLAGS += /Wp64 ; # Wp64 is deprecated from msvc9
}
if ( $(toolset) != msvc6 )
{
CCFLAGS += /Wp64 /W4 ;
CCFLAGS += /W4 ;
}
else
{