Merge pull request #29 from kekekeks/readme-fix
Fixed windows build instructions
This commit is contained in:
Коммит
da3ca3f864
17
README.md
17
README.md
|
@ -22,14 +22,27 @@ Check our getting [started guide](https://developer.xamarin.com/guides/cross-pla
|
|||
|
||||
## Building SkiaSharp
|
||||
|
||||
To build SkiaSharp on Mac OS X (Bash):
|
||||
### Mac OS X
|
||||
|
||||
Run from Bash
|
||||
|
||||
$ ./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
|
||||
|
||||
|
||||
|
||||
There are several targets available:
|
||||
|
||||
- `externals` - builds all the native libraries
|
||||
|
|
Загрузка…
Ссылка в новой задаче