Skip to content

Commit

Permalink
Added explanation for 64-bit binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
golddranks committed Feb 24, 2015
1 parent 23568ea commit c1f5010
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion docs/GettingStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Git repository urls found here: [http://llvm.org/docs/GettingStarted.html#git-mi

## Compiling on Windows/Visual Studio

### Compiling LLVM on Windows/Visual Studio
### Compiling LLVM on Windows/Visual Studio (32-bit binaries)

```shell
cd <CppSharp>\deps\llvm\build
Expand All @@ -32,6 +32,16 @@ cmake -G "Visual Studio 12" -DCLANG_BUILD_EXAMPLES=false -DCLANG_INCLUDE_DOCS=fa
msbuild LLVM.sln /p:Configuration=RelWithDebInfo;Platform=Win32 /m
```

OR, if you need 64-bit binaries:

```shell
cd <CppSharp>\deps\llvm\build

cmake -G "Visual Studio 12 Win64" -DCLANG_BUILD_EXAMPLES=false -DCLANG_INCLUDE_DOCS=false -DCLANG_INCLUDE_TESTS=false -DCLANG_INCLUDE_DOCS=false -DCLANG_BUILD_EXAMPLES=false -DLLVM_TARGETS_TO_BUILD="X86" -DLLVM_INCLUDE_EXAMPLES=false -DLLVM_INCLUDE_DOCS=false -DLLVM_INCLUDE_TESTS=false ..

msbuild LLVM.sln /p:Configuration=RelWithDebInfo;Platform=x64 /m
```

Last revisions known to work:

LLVM `r230176` / Git mirror revision `0e8abfa6ed986c892ec723236e32e78fd9c47b88`.
Expand Down

0 comments on commit c1f5010

Please sign in to comment.