Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Default to static linking CRT on Windows.

  • Loading branch information...
commit 71e975669cd22e496ad3d5b544bd84c448d52359 1 parent 1e425e3
@TooTallNate TooTallNate authored unknown committed
Showing with 2 additions and 14 deletions.
  1. +2 −14 common.gypi
View
16 common.gypi
@@ -22,13 +22,7 @@
],
'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',
@@ -49,13 +43,7 @@
],
'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

0 comments on commit 71e9756

Please sign in to comment.
Something went wrong with that request. Please try again.