diff --git a/clang/www/get_started.html b/clang/www/get_started.html
index ab5f7fac6a6c97..48ce7f8edbbcf6 100755
--- a/clang/www/get_started.html
+++ b/clang/www/get_started.html
@@ -69,9 +69,13 @@
On Unix-like Systems
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 in 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,