Browse Source

Add instructions on how to compile for X11 using Clang

Hugo Locurcio 9 years ago
parent
commit
ed3431bb2a
1 changed files with 6 additions and 0 deletions
  1. 6 0
      reference/compiling_for_x11.rst

+ 6 - 0
reference/compiling_for_x11.rst

@@ -66,6 +66,12 @@ If all goes well, the resulting binary executable will be placed in the
 runs without any dependencies. Executing it will bring up the project
 manager.
 
+If you wish to compile using Clang rather than GCC, use this command:
+
+::
+
+    user@host:~/godot$ scons platform=x11 use_llvm=yes
+
 Building export templates
 -------------------------