This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Commit 2fcc060
committed
[[ VS2015 ]] Tweak environment options for VS2015
This patch tweaks various environment flags and options to ensure
a build works under VS2015.
It ensures that the ARCH variable is always set and defaults to x86.
It maps ARCH to the Microsoft architecture name (X86 = x86 and X64 =
x86_64) and ensures that it is used to set the target_arch of the build.
To ensure that things build consistently targetting the correct
architecture, it ensures that /MACHINE is set for the link and
lib tools.
Finally it ensures the gyp is called targetting VS 2015 output and
the architecture specified by ARCH.1 parent 6eba137 commit 2fcc060
2 files changed
+24
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
49 | 47 | | |
50 | 48 | | |
51 | 49 | | |
| |||
185 | 183 | | |
186 | 184 | | |
187 | 185 | | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
188 | 194 | | |
189 | 195 | | |
190 | 196 | | |
191 | 197 | | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
192 | 203 | | |
193 | 204 | | |
194 | 205 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
15 | 25 | | |
16 | 26 | | |
17 | 27 | | |
| |||
63 | 73 | | |
64 | 74 | | |
65 | 75 | | |
66 | | - | |
67 | | - | |
| 76 | + | |
68 | 77 | | |
69 | 78 | | |
70 | 79 | | |
| |||
0 commit comments