]> granicus.if.org Git - clang/commitdiff
Added link to LLVM cmake page in Visual Studio section.
authorJohn Thompson <John.Thompson.JTSoftware@gmail.com>
Wed, 6 Apr 2011 18:22:12 +0000 (18:22 +0000)
committerJohn Thompson <John.Thompson.JTSoftware@gmail.com>
Wed, 6 Apr 2011 18:22:12 +0000 (18:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129013 91177308-0d34-0410-b5e6-96231b3b80d8

www/get_started.html

index 6176e9a910b0901e1855c33e4556f9f173cb0a9b..f8745f96bcbc88d4637ec583ea8978be5f0cf2d7 100644 (file)
@@ -157,6 +157,13 @@ Visual Studio:</p>
     <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>By default, cmake will target LLVM to X86.  If you want all targets
+        (needed if you want to run the LLVM tests), add the <tt>-DLLVM_TARGETS_TO_BUILD=all</tt> option to the
+        cmake command line.  Or specify a target from the LLVM_TARGETS_TO_BUILD
+        definition in CMakeLists.txt.</li>
+    <li>See the <a href="http://www.llvm.org/docs/CMake.html">LLVM CMake guide</a> for
+        more information on other configuration options for cmake.</li>
+</li>
     <li>The above, if successful, will have created an LLVM.sln file in the
        llvm directory.
   </ul>