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:
parent
427714178e
commit
78057035d2
@ -59,7 +59,7 @@ else if ( $(toolset:I=^msvc) )
|
|||||||
|
|
||||||
if ( $(fulldebug) )
|
if ( $(fulldebug) )
|
||||||
{
|
{
|
||||||
CCFLAGS += /Zi ;
|
CCFLAGS += /Z7 ;
|
||||||
LDFLAGS += /DEBUG ;
|
LDFLAGS += /DEBUG ;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -72,9 +72,14 @@ else if ( $(toolset:I=^msvc) )
|
|||||||
CCFLAGS += /DNDEBUG /Ox /MT ;
|
CCFLAGS += /DNDEBUG /Ox /MT ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( $(toolset) = msvc7 || $(toolset) = msvc71 || $(toolset) = msvc8 )
|
||||||
|
{
|
||||||
|
CCFLAGS += /Wp64 ; # Wp64 is deprecated from msvc9
|
||||||
|
}
|
||||||
|
|
||||||
if ( $(toolset) != msvc6 )
|
if ( $(toolset) != msvc6 )
|
||||||
{
|
{
|
||||||
CCFLAGS += /Wp64 /W4 ;
|
CCFLAGS += /W4 ;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user