mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-02-07 16:34:27 +01:00
Updated Cross Compiling (markdown)
parent
863cfbeefe
commit
0f38bcd4f2
@ -1,14 +1,20 @@
|
||||
You may not have a Windows machine handy.
|
||||
But thanks to xgo, it is possible to cross-compile games made with ebiten!
|
||||
But thanks to xgo, it is possible to cross-compile games made with Ebiten!
|
||||
|
||||
You will need xgo:
|
||||
```go get github.com/karalabe/xgo```
|
||||
|
||||
```
|
||||
go get github.com/karalabe/xgo
|
||||
```
|
||||
|
||||
You will also need Docker:
|
||||
https://www.docker.com/products/overview
|
||||
Make sure docker is in your PATH.
|
||||
|
||||
Make sure your ebiten game is in your GOPATH and run this to cross-compile your game to windows:
|
||||
```xgo --targets=windows/* /path/to/ebiten/game/in/gopath```
|
||||
Make sure your Ebiten game is in your GOPATH and run this to cross-compile your game to Windows:
|
||||
|
||||
```
|
||||
xgo --targets=windows/* /path/to/ebiten/game/in/gopath
|
||||
```
|
||||
|
||||
NOTE: make sure you have a couple of GB's space as xgo will download what it needs to cross-compile the game.
|
Loading…
Reference in New Issue
Block a user