Skip to content

Commit

Permalink
Peter Bright's VC fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Aug 7, 2011
1 parent 965f91b commit 918a071
Showing 1 changed file with 32 additions and 3 deletions.
35 changes: 32 additions & 3 deletions http_parser.gyp
Expand Up @@ -6,14 +6,43 @@
# ./out/Debug/test
{
'target_defaults': {
'default_configuration': 'Debug',
'configurations': {
# TODO: hoist these out and put them somewhere common, because
# RuntimeLibrary MUST MATCH across the entire project
'Debug': {
'defines': [ 'DEBUG', '_DEBUG' ]
'defines': [ 'DEBUG', '_DEBUG' ],
'msvs_settings': {
'VCCLCompilerTool': {
'RuntimeLibrary': 1, # static debug
},
},
},
'Release': {
'defines': [ 'NDEBUG' ]
'defines': [ 'NDEBUG' ],
'msvs_settings': {
'VCCLCompilerTool': {
'RuntimeLibrary': 0, # static release
},
},
}
}
},
'msvs_settings': {
'VCCLCompilerTool': {
},
'VCLibrarianTool': {
},
'VCLinkerTool': {
'GenerateDebugInformation': 'true',
},
},
'conditions': [
['OS == "win"', {
'defines': [
'WIN32'
],
}]
],
},

'targets': [
Expand Down

0 comments on commit 918a071

Please sign in to comment.