Update cmake build instruction to compile LLVM in C++11 mode

Thanks to Xavier de Gaye for the pointer.

llvm-svn: 196794
This commit is contained in:
Jean-Daniel Dupas
2013-12-09 18:13:47 +00:00
parent 1ab7c2dab4
commit 59ceb0440e

View File

@@ -150,14 +150,14 @@
ninja on your system. To build using ninja:
</p>
<code>
&gt; cmake .. -G Ninja
&gt; cmake .. -G Ninja -DLLVM_ENABLE_CXX11=ON
<br>&gt; ninja lldb
<br>&gt; ninja check-lldb
</code>
<h3>Using CMake + Unix Makefiles</h3>
<p>If you do not have Ninja, you can still use CMake to generate Unix Makefiles that build LLDB:</p>
<code>
&gt; cmake ..
&gt; cmake .. -DLLVM_ENABLE_CXX11=ON
<br>&gt; make
<br>&gt; make check-lldb
</code>