docs: update instructions for building win32 target (#14560)
This commit is contained in:
parent
f8828aa804
commit
b35c8e4e1e
1 changed files with 5 additions and 3 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue