Getting Started: Add VS2010 instructions and specify an out of source build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122003 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/www/get_started.html b/www/get_started.html
index 7460cd1..54f7442 100644
--- a/www/get_started.html
+++ b/www/get_started.html
@@ -125,7 +125,7 @@
project files. Get it from:
<a href="http://www.cmake.org/cmake/resources/software.html">
http://www.cmake.org/cmake/resources/software.html</a></li>
- <li><b>Visual Studio 2005 or 2008</b></li>
+ <li><b>Visual Studio 2005, 2008, or 2010</b></li>
<li><b>Python</b>. This is needed only if you will be running the tests
(which is essential, if you will be developing for clang).
Get it from:
@@ -151,9 +151,12 @@
</ul>
<li>Run cmake to generate the Visual Studio solution and project files:</li>
<ul>
- <li><tt>cd ..</tt> (Change directory back to the llvm top.)</li>
- <li>If you are using Visual Studio 2005: <tt>cmake .</tt></li>
- <li>Or if you are using Visual Studio 2008: <tt>cmake -G "Visual Studio 9 2008" .</tt></li>
+ <li><tt>cd ..\..</tt> (back to where you started)</li>
+ <li><tt>mkdir build</tt> (for building without polluting the source dir)</li>
+ <li><tt>cd build</tt></li>
+ <li>If you are using Visual Studio 2005: <tt>cmake -G "Visual Studio 8 2005" ..\llvm</tt></li>
+ <li>Or if you are using Visual Studio 2008: <tt>cmake -G "Visual Studio 9 2008" ..\llvm</tt></li>
+ <li>Or if you are using Visual Studio 2010: <tt>cmake -G "Visual Studio 10" ..\llvm</tt></li>
<li>The above, if successful, will have created an LLVM.sln file in the
llvm directory.
</ul>