mirror of
https://github.com/intel/llvm.git
synced 2026-01-23 07:58:23 +08:00
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:
@@ -150,14 +150,14 @@
|
||||
ninja on your system. To build using ninja:
|
||||
</p>
|
||||
<code>
|
||||
> cmake .. -G Ninja
|
||||
> cmake .. -G Ninja -DLLVM_ENABLE_CXX11=ON
|
||||
<br>> ninja lldb
|
||||
<br>> 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>
|
||||
> cmake ..
|
||||
> cmake .. -DLLVM_ENABLE_CXX11=ON
|
||||
<br>> make
|
||||
<br>> make check-lldb
|
||||
</code>
|
||||
|
||||
Reference in New Issue
Block a user