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