diff options
author | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-05-09 10:20:43 +0000 |
---|---|---|
committer | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-05-09 10:20:43 +0000 |
commit | ca9704d65181111a182bce3ad97913dd4cfd6058 (patch) | |
tree | 065ea55e98965505fb33d79f76e28eabf97f7e15 | |
parent | 3a9d992883e5cd5be24a4278f1aa43cf62d2640e (diff) |
Added fulldebug flag for debug information generation
git-svn-id: http://pugixml.googlecode.com/svn/trunk@394 99668b35-9821-0410-8761-19e4c4f06640
-rw-r--r-- | Jamrules.jam | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Jamrules.jam b/Jamrules.jam index f37db8f..e89e08c 100644 --- a/Jamrules.jam +++ b/Jamrules.jam @@ -57,6 +57,12 @@ else if ( $(toolset:I=^msvc) ) { CCFLAGS += /D$(defines) ; + if ( $(fulldebug) ) + { + CCFLAGS += /Zi ; + LDFLAGS += /DEBUG ; + } + if ( $(configuration) = "debug" ) { CCFLAGS += /D_DEBUG /MTd ; |