diff options
Diffstat (limited to 'www/get_started.html')
-rw-r--r-- | www/get_started.html | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/www/get_started.html b/www/get_started.html index 6f08f5e..254745b 100644 --- a/www/get_started.html +++ b/www/get_started.html @@ -42,6 +42,9 @@ follows:</p> <li>Note also that Python is needed for running the test suite. Get it at: <a href="http://www.python.org/download"> http://www.python.org/download</a></li> + <li>Standard build process uses CMake. Get it at: + <a href="http://www.cmake.org/download"> + http://www.cmake.org/download</a></li> </ul> <li>Checkout LLVM: @@ -75,17 +78,21 @@ follows:</p> </li> <li>Build LLVM and Clang: <ul> - <li><tt>mkdir build</tt> (for building without polluting the source dir) - </li> + <li><tt>mkdir build</tt> (in-tree build is not supported)</li> <li><tt>cd build</tt></li> - <li><tt>../llvm/configure</tt></li> + <li><tt>cmake -G "Unix Makefiles" ../llvm</tt></li> <li><tt>make</tt></li> <li>This builds both LLVM and Clang for debug mode.</li> - <li>Note: For subsequent Clang development, you can just do make at the - clang directory level.</li> - <li>It is also possible to use CMake instead of the makefiles. With CMake - it is possible to generate project files for several IDEs: Xcode, Eclipse - CDT4, CodeBlocks, Qt-Creator (use the CodeBlocks generator), KDevelop3.</li> + <li>Note: For subsequent Clang development, you can just run + <tt>make clang</tt>.</li> + <li>CMake allows you to generate project files for several IDEs: Xcode, + Eclipse CDT4, CodeBlocks, Qt-Creator (use the CodeBlocks generator), + KDevelop3. For more details see + <a href="http://llvm.org/docs/CMake.html">Building LLVM with CMake</a> + page.</li> + <li>You can also build Clang with + <a href="http://llvm.org/docs/BuildingLLVMWithAutotools.html"> + autotools</a>, but some features may be unavailable there.</li> </ul> </li> @@ -135,13 +142,13 @@ Visual Studio:</p> <li>Get the required tools: <ul> <li><b>Subversion</b>. Source code control program. Get it from: - <a href="http://subversion.tigris.org/getting.html"> - http://subversion.tigris.org/getting.html</a></li> + <a href="http://subversion.apache.org/packages.html"> + http://subversion.apache.org/packages.html</a></li> <li><b>CMake</b>. This is used for generating Visual Studio solution and 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 2012 or later</b></li> + <li><b>Visual Studio 2013 or later</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: @@ -173,7 +180,7 @@ Visual Studio:</p> <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 2012: <tt>cmake -G "Visual Studio 11" ..\llvm</tt></li> + <li>If you are using Visual Studio 2013: <tt>cmake -G "Visual Studio 12" ..\llvm</tt></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>The above, if successful, will have created an LLVM.sln file in the |