gyp: enable debug symbols with MSVC

Fixes #130.
This commit is contained in:
Jeroen Janssen 2011-08-06 19:38:41 +02:00 committed by Ryan Dahl
parent 62d1c5751e
commit d9b0534ae0
2 changed files with 14 additions and 0 deletions

13
build/common.gypi Normal file
View File

@ -0,0 +1,13 @@
{
'conditions': [
['OS=="win"', {
'target_defaults': {
'msvs_settings': {
'VCLinkerTool': {
'GenerateDebugInformation': 'true',
},
},
},
}], # OS=="win"
],
}

View File

@ -26,6 +26,7 @@ if __name__ == '__main__':
args = sys.argv[1:]
args.append(os.path.join(script_dir, 'all.gyp'))
args.append('-I' + os.path.join(script_dir, 'common.gypi'))
args.append('--depth=' + uv_root)