Default to static linking CRT on Windows.
authorNathan Rajlich <nathan@tootallnate.net>
Wed, 15 Feb 2012 19:50:51 +0000 (11:50 -0800)
committerunknown <igorzi@igorzidev8-oss.redmond.corp.microsoft.com>
Wed, 15 Feb 2012 21:32:46 +0000 (13:32 -0800)
common.gypi

index 20a5d11cbdce506d9105289028824b048b38fa04..582af85369b17d1bab9edfc48d4c65c67a351aed 100644 (file)
         ],
         'msvs_settings': {
           'VCCLCompilerTool': {
-            'target_conditions': [
-              ['library=="static_library"', {
-                'RuntimeLibrary': 1, # static debug
-              }, {
-                'RuntimeLibrary': 3, # DLL debug
-              }],
-            ],
+            'RuntimeLibrary': 1, # static debug
             'Optimization': 0, # /Od, no optimization
             'MinimalRebuild': 'true',
             'OmitFramePointers': 'false',
         ],
         'msvs_settings': {
           'VCCLCompilerTool': {
-            'target_conditions': [
-              ['library=="static_library"', {
-                'RuntimeLibrary': 0, # static release
-              }, {
-                'RuntimeLibrary': 2, # debug release
-              }],
-            ],
+            'RuntimeLibrary': 0, # static release
             'Optimization': 3, # /Ox, full optimization
             'FavorSizeOrSpeed': 1, # /Ot, favour speed over size
             'InlineFunctionExpansion': 2, # /Ob2, inline anything eligible