X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=compat%2Fvcbuild%2FREADME;h=df8a6574c9ac24722aec9baf046dab785d210cc4;hb=356169c1f66287629ea08e8c9c6e27b00ff8707a;hp=354526af8b2483dd8c12fe039556a627473ec9f4;hpb=a2c6bf0e7661a4e6eafe7810cca1cd08187d311f;p=git.git diff --git a/compat/vcbuild/README b/compat/vcbuild/README index 354526af8..df8a6574c 100644 --- a/compat/vcbuild/README +++ b/compat/vcbuild/README @@ -33,7 +33,18 @@ The Steps of Build Git with VS2008 make common-cmds.h to generate the common-cmds.h file needed to compile git. -4. Then build Git with the GNU Make Makefile in the Git projects root +4. Then either build Git with the GNU Make Makefile in the Git projects + root make MSVC=1 + or generate Visual Studio solution/projects (.sln/.vcproj) with the + command + perl contrib/buildsystems/generate -g Vcproj + and open and build the solution with the IDE + devenv git.sln /useenv + or build with the IDE build engine directly from the command line + devenv git.sln /useenv /build "Release|Win32" + The /useenv option is required, so Visual Studio picks up the + environment variables for the support libraries required to build + Git, which you set up in step 1. Done!