libgit2/libgit2sharp — pull request #169 by ben (2012-10-26 20:13:10+00:00)
Title: Automate the building of libgit2 native libraries with Powershell

@aroben did a wonderful job with **[Update-NativeBinaries.ps1](https://github.com/libgit2/libgit2sharp/blob/blueline/Update-NativeBinaries.ps1)**.

LibGit2Sharp embeds both x86 and amd64 versions of Windows libgit2 bins in the `Lib/NativeLibraries` directory.

This issue should try and make the PowerShell script handle the following

- Make it build the both x86 and amd64 versions of libgit2
- Run the correct version of test_clar.exe according to the platform

FWIW, passing parameter `-G "Visual Studio 10 Win64"` to cmake will make it build an amd64 version of the library.

**Notes:**

- libgit2 build script requires Python to be installed in order to generate the tests.
- One can trigger the hybrid build on a x86 platform provided the 64-Bit Visual C++ Toolset (also available as part of the Windows SDK) is installed