[cfe-commits] r122003 - /cfe/trunk/www/get_started.html
Michael J. Spencer
bigcheesegs at gmail.com
Thu Dec 16 14:01:14 PST 2010
Author: mspencer
Date: Thu Dec 16 16:01:14 2010
New Revision: 122003
URL: http://llvm.org/viewvc/llvm-project?rev=122003&view=rev
Log:
Getting Started: Add VS2010 instructions and specify an out of source build.
Modified:
cfe/trunk/www/get_started.html
Modified: cfe/trunk/www/get_started.html
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/www/get_started.html?rev=122003&r1=122002&r2=122003&view=diff
==============================================================================
--- cfe/trunk/www/get_started.html (original)
+++ cfe/trunk/www/get_started.html Thu Dec 16 16:01:14 2010
@@ -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>
More information about the cfe-commits
mailing list