summaryrefslogtreecommitdiffstats
path: root/www/get_started.html
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2015-04-21 18:38:31 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2015-04-21 18:38:31 +0000
commitca4a94601122378f647063a1903b6c6d186d7f55 (patch)
tree877fc89effd561c3e20bd2e1b57aa2d114920a2b /www/get_started.html
parent04346b62906de91bf30e6f52a6947692d1ba6bd8 (diff)
Recommend to use CMake on the Clang Getting Started page.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@235402 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'www/get_started.html')
-rw-r--r--www/get_started.html23
1 files changed, 15 insertions, 8 deletions
diff --git a/www/get_started.html b/www/get_started.html
index 6f08f5e6f0..852d749dbb 100644
--- a/www/get_started.html
+++ b/www/get_started.html
@@ -42,6 +42,9 @@ follows:</p>
<li>Note also that Python is needed for running the test suite.
Get it at: <a href="http://www.python.org/download">
http://www.python.org/download</a></li>
+ <li>Standard build process uses CMake. Get it at:
+ <a href="http://www.cmake.org/download">
+ http://www.cmake.org/download</a></li>
</ul>
<li>Checkout LLVM:
@@ -75,17 +78,21 @@ follows:</p>
</li>
<li>Build LLVM and Clang:
<ul>
- <li><tt>mkdir build</tt> (for building without polluting the source dir)
- </li>
+ <li><tt>mkdir build</tt> (in-tree build is not supported)</li>
<li><tt>cd build</tt></li>
- <li><tt>../llvm/configure</tt></li>
+ <li><tt>cmake -G "Unix Makefiles" ../llvm</tt></li>
<li><tt>make</tt></li>
<li>This builds both LLVM and Clang for debug mode.</li>
- <li>Note: For subsequent Clang development, you can just do make at the
- clang directory level.</li>
- <li>It is also possible to use CMake instead of the makefiles. With CMake
- it is possible to generate project files for several IDEs: Xcode, Eclipse
- CDT4, CodeBlocks, Qt-Creator (use the CodeBlocks generator), KDevelop3.</li>
+ <li>Note: For subsequent Clang development, you can just run
+ <tt>make clang</tt>.</li>
+ <li>CMake allows you to generate project files for several IDEs: Xcode,
+ Eclipse CDT4, CodeBlocks, Qt-Creator (use the CodeBlocks generator),
+ KDevelop3. For more details see
+ <a href="http://llvm.org/docs/CMake.html">Building LLVM with CMake</a>
+ page.</li>
+ <li>You can also build Clang with
+ <a href="http://llvm.org/docs/BuildingLLVMWithAutotools.html">
+ autotools</a>, but some features may be unavailable there.</li>
</ul>
</li>