Getting Started: Add VS2010 instructions and specify an out of source build.

llvm-svn: 122003
This commit is contained in:
Michael J. Spencer 2010-12-16 22:01:14 +00:00
parent 3c310a1a79
commit 7ed7afc8b7
1 changed files with 7 additions and 4 deletions

View File

@ -125,7 +125,7 @@ Visual Studio:</p>
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 @@ Visual Studio:</p>
</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>