diff options
author | Peter Bright <drpizza@quiscalusmexicanus.org> | 2011-08-07 06:11:21 +0100 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-08-06 22:39:28 -0700 |
commit | 6ac8c559897ae09a4f9e84cda1e90e6c56ca92bf (patch) | |
tree | 42d519afd24dd0bc8512dbee7c6af54583630c43 /deps/http_parser | |
parent | b88c48177a5301cfabbb3d0790187d3b6dacdbda (diff) | |
download | node-6ac8c559897ae09a4f9e84cda1e90e6c56ca92bf.tar.gz |
Make MSVS build.
MSVS settings don't actually need to be guarded by conditions. gyp will do
the right thing.
Diffstat (limited to 'deps/http_parser')
-rw-r--r-- | deps/http_parser/http_parser.gyp | 35 |
1 files changed, 32 insertions, 3 deletions
diff --git a/deps/http_parser/http_parser.gyp b/deps/http_parser/http_parser.gyp index e9183b8d5..c6eada707 100644 --- a/deps/http_parser/http_parser.gyp +++ b/deps/http_parser/http_parser.gyp @@ -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': [ |