Browse Source

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

Rémi Verschelde 9 years ago
parent
commit
ac01335b8f
1 changed files with 11 additions and 2 deletions
  1. 11 2
      reference/compiling_for_osx.rst

+ 11 - 2
reference/compiling_for_osx.rst

@@ -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
 If all goes well, the resulting binary executable will be placed in the
 "bin" subdirectory. This executable file contains the whole engine and
 "bin" subdirectory. This executable file contains the whole engine and
 runs without any dependencies. Executing it will bring up the project
 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
 Cross-compiling
 ---------------
 ---------------