]> granicus.if.org Git - clang/commitdiff
Getting Started: Add VS2010 instructions and specify an out of source build.
authorMichael J. Spencer <bigcheesegs@gmail.com>
Thu, 16 Dec 2010 22:01:14 +0000 (22:01 +0000)
committerMichael J. Spencer <bigcheesegs@gmail.com>
Thu, 16 Dec 2010 22:01:14 +0000 (22:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122003 91177308-0d34-0410-b5e6-96231b3b80d8

www/get_started.html

index 7460cd1ff3ebc04ecbff9217eb48cc9cb7d20476..54f7442b88bb55445f7363ac764c92f306dd6f06 100644 (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>