From ec0bff926242ff96272f27a16dd41cb0604efea7 Mon Sep 17 00:00:00 2001
From: Alexey Samsonov
Date: Tue, 21 Apr 2015 18:38:31 +0000
Subject: [PATCH] Recommend to use CMake on the Clang Getting Started page.
llvm-svn: 235402
---
clang/www/get_started.html | 23 +++++++++++++++--------
1 file changed, 15 insertions(+), 8 deletions(-)
diff --git a/clang/www/get_started.html b/clang/www/get_started.html
index 6f08f5e..852d749 100644
--- a/clang/www/get_started.html
+++ b/clang/www/get_started.html
@@ -42,6 +42,9 @@ follows:
Note also that Python is needed for running the test suite.
Get it at:
http://www.python.org/download
+ Standard build process uses CMake. Get it at:
+
+ http://www.cmake.org/download
Checkout LLVM:
@@ -75,17 +78,21 @@ follows:
Build LLVM and Clang:
- - mkdir build (for building without polluting the source dir)
-
+ - mkdir build (in-tree build is not supported)
- cd build
- - ../llvm/configure
+ - cmake -G "Unix Makefiles" ../llvm
- make
- This builds both LLVM and Clang for debug mode.
- - Note: For subsequent Clang development, you can just do make at the
- clang directory level.
- - 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.
+ - Note: For subsequent Clang development, you can just run
+ make clang.
+ - 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
+ Building LLVM with CMake
+ page.
+ - You can also build Clang with
+
+ autotools, but some features may be unavailable there.
--
2.7.4