Compiling for OSX: Mention how to use the .app template

This commit is contained in:
Rémi Verschelde 2016-05-28 15:39:51 +02:00
parent 9673cf9c22
commit ac01335b8f
1 changed files with 11 additions and 2 deletions

View File

@ -27,8 +27,17 @@ Start a terminal, go to the root dir of the engine source code and type:
If all goes well, the resulting binary executable will be placed in the
"bin" subdirectory. This executable file contains the whole engine and
runs without any dependencies. Executing it will bring up the project
manager. There is a .app template to put the binary into in
``tools/Godot.app``.
manager.
To create an .app like in the official builds, you need to use the template
located in ``tools/Godot.app``. Typically:
::
user@host:~/godot$ cp -r tools/Godot.app .
user@host:~/godot$ mkdir -p Godot.app/Contents/MacOS
user@host:~/godot$ cp bin/godot.osx.opt.tools.64 Godot.app/Contents/MacOS/Godot
user@host:~/godot$ chmod +x Godot.app/Contents/MacOS/Godot
Cross-compiling
---------------