mirror of
https://github.com/git/git.git
synced 2026-04-13 02:10:06 +02:00
This commit contains a GNU Makefile and NuGet configuration scripts to download and install the various third-party libraries that we will need to build/link with when using VS2015 to build Git. The file "compat/vcbuild/README_VS2015.txt" contains instructions for using this. In this commit, "compat/vcbuild/Makefile" contains hard-coded version numbers of the packages we require. These are set to the current versions as of the time of this commit. We use "nuget restore" to install them explicitly using a "package.config". A future improvement would try to use some of the automatic package management functions and eliminate the need to specify exact versions. I tried, but could not get this to work. NuGet was happy dowload "minimum requirements" rather than "lastest" for dependencies -- and only look at one package at a time. For example, both curl and openssl depend upon zlib and have different minimums. It was unclear which version of zlib would be installed and seemed to be dependent on the order of the top-level pacakges. So, I'm skipping that for now. Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
28 lines
929 B
XML
28 lines
929 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<configuration>
|
|
<config>
|
|
<!--
|
|
Used to specify the default location to expand packages.
|
|
See: NuGet.exe help install
|
|
See: NuGet.exe help update
|
|
-->
|
|
<add key="repositoryPath" value="Nupkg" />
|
|
</config>
|
|
<packageSources>
|
|
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
|
|
</packageSources>
|
|
<packageRestore>
|
|
<!-- Allow NuGet to download missing packages -->
|
|
<add key="enabled" value="True" />
|
|
<!-- Automatically check for missing packages during build in Visual Studio -->
|
|
<add key="automatic" value="False" />
|
|
</packageRestore>
|
|
<bindingRedirects>
|
|
<add key="skip" value="False" />
|
|
</bindingRedirects>
|
|
<activePackageSource>
|
|
<!-- this tells only one given source is active -->
|
|
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
|
|
</activePackageSource>
|
|
</configuration>
|