From 6ab29444b08df336af25e098c785ca868389e839 Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Thu, 13 Mar 2014 05:48:46 +0000 Subject: [PATCH] [docs][Windows] Document how to build using Ninja. llvm-svn: 203756 --- lld/docs/windows_support.rst | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/lld/docs/windows_support.rst b/lld/docs/windows_support.rst index 9b0df72bbb05..8e8efedce61d 100644 --- a/lld/docs/windows_support.rst +++ b/lld/docs/windows_support.rst @@ -75,8 +75,11 @@ Debug info Building LLD ============ +Using Visual Studio IDE/MSBuild +--------------------------- + 1. Check out LLVM and LLD from the LLVM SVN repository (or Git mirror), -#. run ``cmake -G "Visual Studio 12" `` +#. run ``cmake -G "Visual Studio 12" `` from VS command prompt, #. open LLVM.sln with Visual Studio, and #. build ``lld`` target in ``lld executables`` folder @@ -91,6 +94,13 @@ MSBuild.exe had been shipped as a component of the .NET framework, but since You can build LLD as a 64 bit application. To do that, open VS2013 x64 command prompt and run cmake for "Visual Studio 12 Win64" target. +Using Ninja +----------- + +1. Check out LLVM and LLD from the LLVM SVN repository (or Git mirror), +#. run ``cmake -G ninja `` from VS command prompt, +#. run ``ninja lld`` + Known issues ============