Added fulldebug flag for debug information generation

git-svn-id: http://pugixml.googlecode.com/svn/trunk@394 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
arseny.kapoulkine 2010-05-09 10:20:43 +00:00
parent 3a9d992883
commit ca9704d651

View File

@ -57,6 +57,12 @@ else if ( $(toolset:I=^msvc) )
{ {
CCFLAGS += /D$(defines) ; CCFLAGS += /D$(defines) ;
if ( $(fulldebug) )
{
CCFLAGS += /Zi ;
LDFLAGS += /DEBUG ;
}
if ( $(configuration) = "debug" ) if ( $(configuration) = "debug" )
{ {
CCFLAGS += /D_DEBUG /MTd ; CCFLAGS += /D_DEBUG /MTd ;