mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
Default to static linking CRT on Windows.
This commit is contained in:
16
common.gypi
16
common.gypi
@@ -22,13 +22,7 @@
|
|||||||
],
|
],
|
||||||
'msvs_settings': {
|
'msvs_settings': {
|
||||||
'VCCLCompilerTool': {
|
'VCCLCompilerTool': {
|
||||||
'target_conditions': [
|
'RuntimeLibrary': 1, # static debug
|
||||||
['library=="static_library"', {
|
|
||||||
'RuntimeLibrary': 1, # static debug
|
|
||||||
}, {
|
|
||||||
'RuntimeLibrary': 3, # DLL debug
|
|
||||||
}],
|
|
||||||
],
|
|
||||||
'Optimization': 0, # /Od, no optimization
|
'Optimization': 0, # /Od, no optimization
|
||||||
'MinimalRebuild': 'true',
|
'MinimalRebuild': 'true',
|
||||||
'OmitFramePointers': 'false',
|
'OmitFramePointers': 'false',
|
||||||
@@ -49,13 +43,7 @@
|
|||||||
],
|
],
|
||||||
'msvs_settings': {
|
'msvs_settings': {
|
||||||
'VCCLCompilerTool': {
|
'VCCLCompilerTool': {
|
||||||
'target_conditions': [
|
'RuntimeLibrary': 0, # static release
|
||||||
['library=="static_library"', {
|
|
||||||
'RuntimeLibrary': 0, # static release
|
|
||||||
}, {
|
|
||||||
'RuntimeLibrary': 2, # debug release
|
|
||||||
}],
|
|
||||||
],
|
|
||||||
'Optimization': 3, # /Ox, full optimization
|
'Optimization': 3, # /Ox, full optimization
|
||||||
'FavorSizeOrSpeed': 1, # /Ot, favour speed over size
|
'FavorSizeOrSpeed': 1, # /Ot, favour speed over size
|
||||||
'InlineFunctionExpansion': 2, # /Ob2, inline anything eligible
|
'InlineFunctionExpansion': 2, # /Ob2, inline anything eligible
|
||||||
|
|||||||
Reference in New Issue
Block a user