Fixed windows build instructions
This commit is contained in:
Родитель
7d8fa2765d
Коммит
47e06de1b6
17
README.md
17
README.md
|
@ -22,14 +22,27 @@ Check our getting [started guide](https://developer.xamarin.com/guides/cross-pla
|
||||||
|
|
||||||
## Building SkiaSharp
|
## Building SkiaSharp
|
||||||
|
|
||||||
To build SkiaSharp on Mac OS X (Bash):
|
### Mac OS X
|
||||||
|
|
||||||
|
Run from Bash
|
||||||
|
|
||||||
$ ./bootstrapper.sh -t libs
|
$ ./bootstrapper.sh -t libs
|
||||||
|
|
||||||
Similarly on Windows (PowerShell):
|
### Windows
|
||||||
|
|
||||||
|
You need Python 2.7 in `PATH` environment variable. Then you need to run following commands from `skia` directory:
|
||||||
|
|
||||||
|
> ..\depot_tools\gclient.bat config --unmanaged https://github.com/mono/skia.git
|
||||||
|
> ..\depot_tools\gclient.bat sync
|
||||||
|
|
||||||
|
The process will take some time while gclient downloads Skia build dependencies.
|
||||||
|
|
||||||
|
Then you can finally build it:
|
||||||
|
|
||||||
> .\bootstrapper.ps1 -Target libs
|
> .\bootstrapper.ps1 -Target libs
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
There are several targets available:
|
There are several targets available:
|
||||||
|
|
||||||
- `externals` - builds all the native libraries
|
- `externals` - builds all the native libraries
|
||||||
|
|
Загрузка…
Ссылка в новой задаче