This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Commit 596b3de
committed
src: Do not set the
In modern node-gyp, this flag only serves to limit
node-gyp to using a specific version of Visual Studio.
It can't make node-gyp find a version it wouldn't have found.
Our checks are much less sophisticated at detecting usable
installations of Visual Studio. We should let node-gyp
use the install of Visual Studio/Build Tools it thinks is best.
It will pick any usable Visual Studio install, preferring the newest
if multiple are installed and usable. It generally will not pick one
mistakenly that it actually can't use.
Given that the stakes are "we might prevent a valid installation
of Visual Studio from being used," and there is no benefit to be had,
this flag should not be set.--msvs_version= flag1 parent 8eb9564 commit 596b3de
File tree
5 files changed
+0
-22
lines changed- src
5 files changed
+0
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | 51 | | |
55 | 52 | | |
56 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | 115 | | |
120 | 116 | | |
121 | 117 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | 46 | | |
50 | 47 | | |
51 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | 73 | | |
77 | 74 | | |
78 | 75 | | |
| |||
165 | 162 | | |
166 | 163 | | |
167 | 164 | | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | 165 | | |
172 | 166 | | |
173 | 167 | | |
| |||
378 | 372 | | |
379 | 373 | | |
380 | 374 | | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | 375 | | |
385 | 376 | | |
386 | 377 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | 41 | | |
45 | 42 | | |
46 | 43 | | |
| |||
0 commit comments