mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-26 10:42:42 +01:00
Updated Cross Compiling (markdown)
parent
6e14b92c7b
commit
55db169784
@ -1,4 +1,4 @@
|
||||
You may not have a Windows or Linux machine handy.
|
||||
You may not have a Windows machine handy.
|
||||
But thanks to xgo, it is possible to cross-compile games made with ebiten!
|
||||
|
||||
You will need xgo:
|
||||
@ -11,7 +11,4 @@ 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```
|
||||
|
||||
NOTE: make sure you have a couple of GB's space as xgo will download what it needs to cross-compile the game.
|
||||
|
||||
To cross compile for linux, run:
|
||||
```xgo --targets=linux/* /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