aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-07-22 14:41:26 +0000
committerGravatar epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-07-22 14:41:26 +0000
commit58007d713eb1d408cc9a2b9cf37ae95bdbea9e38 (patch)
tree18045a8ecf964c2d2729fba7708490687389b2f7
parent00223fab51ebcf8a0f069665e18c260193e9114c (diff)
Add debug symbols to Windows static libraries
-rw-r--r--gyp/common.gypi10
1 files changed, 6 insertions, 4 deletions
diff --git a/gyp/common.gypi b/gyp/common.gypi
index 69919089f0..1c925ba3d5 100644
--- a/gyp/common.gypi
+++ b/gyp/common.gypi
@@ -92,9 +92,10 @@
'Debug': {
'msvs_settings': {
'VCCLCompilerTool': {
- 'Optimization': '0', # 0 = /Od
+ 'DebugInformationFormat': '1', # debugOldStyleInfo (/Z7)
+ 'Optimization': '0', # optimizeDisabled (/Od)
'PreprocessorDefinitions': ['_DEBUG'],
- 'RuntimeLibrary': '3', # 3 = /MDd (debug DLL)
+ 'RuntimeLibrary': '3', # rtMultiThreadedDebugDLL (/MDd)
},
'VCLinkerTool': {
'GenerateDebugInformation': 'true',
@@ -104,9 +105,10 @@
'Release': {
'msvs_settings': {
'VCCLCompilerTool': {
- 'Optimization': '2', # 2 = /Os
+ 'DebugInformationFormat': '0', # debugDisabled
+ 'Optimization': '2', # optimizeMaxSpeed (/O2)
'PreprocessorDefinitions': ['NDEBUG'],
- 'RuntimeLibrary': '2', # 2 = /MD (nondebug DLL)
+ 'RuntimeLibrary': '2', # rtMultiThreadedDLL (/MD)
},
'VCLinkerTool': {
'GenerateDebugInformation': 'false',