From ed3431bb2a2263271c4d3ff34d3b6f5dc1c6287c Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Thu, 26 May 2016 20:41:01 +0200 Subject: [PATCH] Add instructions on how to compile for X11 using Clang --- reference/compiling_for_x11.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/reference/compiling_for_x11.rst b/reference/compiling_for_x11.rst index c3873c56..1214971e 100644 --- a/reference/compiling_for_x11.rst +++ b/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 -------------------------