docs: update instructions for building win32 target (#14560)

This commit is contained in:
Jeremy Apthorp 2018-09-11 19:05:51 -07:00 committed by Samuel Attard
parent f8828aa804
commit b35c8e4e1e

View file

@ -31,11 +31,13 @@ See [Build Instructions: GN](build-instructions-gn.md)
## 32bit Build ## 32bit Build
To build for the 32bit target, you need to pass `--target_arch=ia32` when To build for the 32bit target, you need to pass `target_cpu = "x86"` as a GN
running the bootstrap script: arg. You can build the 32bit target alongside the 64bit target by using a
different output directory for GN, e.g. `out/Release-x86`, with different
arguments.
```powershell ```powershell
$ python script\bootstrap.py -v --target_arch=ia32 $ gn gen out/Release-x86 --args="import(\"//electron/build/args/release.gn\") target_cpu=\"x86\""
``` ```
The other building steps are exactly the same. The other building steps are exactly the same.