Add debug symbols to Windows static libraries

As requested in http://code.google.com/p/skia/issues/detail?id=320
Review URL: http://codereview.appspot.com/4805050

git-svn-id: http://skia.googlecode.com/svn/trunk@1940 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
epoger@google.com 2011-07-22 14:41:26 +00:00
parent 00223fab51
commit 58007d713e

View File

@ -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',