|
78 | 78 | ['OS == "android"', { |
79 | 79 | 'cflags': [ '-fPIE' ], |
80 | 80 | 'ldflags': [ '-fPIE', '-pie' ] |
| 81 | + }], |
| 82 | + ['node_shared=="true"', { |
| 83 | + 'msvs_settings': { |
| 84 | + 'VCCLCompilerTool': { |
| 85 | + 'RuntimeLibrary': 3, # MultiThreadedDebugDLL (/MDd) |
| 86 | + } |
| 87 | + } |
| 88 | + }], |
| 89 | + ['node_shared=="false"', { |
| 90 | + 'msvs_settings': { |
| 91 | + 'VCCLCompilerTool': { |
| 92 | + 'RuntimeLibrary': 1 # MultiThreadedDebug (/MTd) |
| 93 | + } |
| 94 | + } |
81 | 95 | }] |
82 | 96 | ], |
83 | 97 | 'msvs_settings': { |
84 | 98 | 'VCCLCompilerTool': { |
85 | | - 'RuntimeLibrary': 1, # static debug |
86 | 99 | 'Optimization': 0, # /Od, no optimization |
87 | 100 | 'MinimalRebuild': 'false', |
88 | 101 | 'OmitFramePointers': 'false', |
|
115 | 128 | ['OS == "android"', { |
116 | 129 | 'cflags': [ '-fPIE' ], |
117 | 130 | 'ldflags': [ '-fPIE', '-pie' ] |
| 131 | + }], |
| 132 | + ['node_shared=="true"', { |
| 133 | + 'msvs_settings': { |
| 134 | + 'VCCLCompilerTool': { |
| 135 | + 'RuntimeLibrary': 2 # MultiThreadedDLL (/MD) |
| 136 | + } |
| 137 | + } |
| 138 | + }], |
| 139 | + ['node_shared=="false"', { |
| 140 | + 'msvs_settings': { |
| 141 | + 'VCCLCompilerTool': { |
| 142 | + 'RuntimeLibrary': 0 # MultiThreaded (/MT) |
| 143 | + } |
| 144 | + } |
118 | 145 | }] |
119 | 146 | ], |
120 | 147 | 'msvs_settings': { |
121 | 148 | 'VCCLCompilerTool': { |
122 | | - 'RuntimeLibrary': 0, # static release |
123 | 149 | 'Optimization': 3, # /Ox, full optimization |
124 | 150 | 'FavorSizeOrSpeed': 1, # /Ot, favour speed over size |
125 | 151 | 'InlineFunctionExpansion': 2, # /Ob2, inline anything eligible |
|
0 commit comments