Index: clang/www/get_started.html
===================================================================
--- clang/www/get_started.html
+++ clang/www/get_started.html
@@ -69,9 +69,13 @@
cd llvm-project
mkdir build (in-tree build is not supported)
cd build
- cmake -DLLVM_ENABLE_PROJECTS=clang -G "Unix Makefiles" ../llvm
+ This builds both LLVM and Clang for release mode. Alternatively if
+ you need a debug build, switch Release to Debug. See
+ frequently used cmake variables
+ for more options.
+
+ cmake -DLLVM_ENABLE_PROJECTS=clang -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles" ../llvm
make
- This builds both LLVM and Clang for debug mode.
Note: For subsequent Clang development, you can just run
make clang.
CMake allows you to generate project files for several IDEs: Xcode,