Browse Source

Merge pull request #156 from Calinou/add-llvm-instructions

Add instructions on how to compile for X11 using Clang
Rémi Verschelde 9 years ago
parent
commit
9673cf9c22
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
 runs without any dependencies. Executing it will bring up the project
 manager.
 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
 Building export templates
 -------------------------
 -------------------------