2 \page build Build instructions
\r
4 \section Introduction Introduction
\r
5 Compiling TortoiseGit is not very difficult, but it requires several steps
\r
6 to finish, at least the first time.
\r
8 Unlike other big open source projects, once you have built all the libraries
\r
9 TortoiseGit depends on, you can use the familiar VisualStudio IDE to build
\r
10 and debug the binaries. No need to run the build script for every little change.
\r
12 So don't give up if you read through the next section and all the requirements.
\r
13 You only have to do this once.
\r
15 \section Requirements Requirements
\r
17 \subsection Requirements1 First, you need to install the compiler package.
\r
19 -# You need VS2008 with SP1 (or at least Visual C++ 2008) to allow
\r
20 building of the full TortoiseGitpackage.
\r
21 If you don't have the SP1 installed for VS2008, you will also need the
\r
22 MFC feature pack for VS2008 which is available from here:
\r
23 http://www.microsoft.com/downloads/details.aspx?FamilyId=D466226B-8DAB-445F-A7B4-448B326C48E7&displaylang=en
\r
24 This is the recommended option, but it is not free :-(
\r
25 If you want to build the msi make sure the "Tools for Redistributing
\r
26 Applications" are installed.
\r
27 -# If you do not have access to VS.NET you can download the free
\r
28 Visual C++ 2008 Express Edition.
\r
29 This will allow you to build the subversion libraries and the
\r
30 SubWCRev, TortoiseBlame, TortoiseUDiff, TortoiseIDiff, CrashRpt
\r
31 and ResText projects only. You can not build the main parts of
\r
32 TortoiseGit(shell extension, TortoiseProc, TGitCache, TortoiseMerge)
\r
33 with the Express Edition!
\r
34 - Install Visual C++ 2008 Express Edition.
\r
35 Download it from http://msdn.microsoft.com/vstudio/express/visualc/
\r
36 - Install MASM 6.15 from: http://win32assembly.online.fr/files/masm615.zip
\r
37 and add it to the PATH environment variable
\r
38 \note Do not bother to install WiX and Votive as you cannot build very much.
\r
39 -# If you plan to build 64 bit packages, install the package
\r
40 - "Language Tools" -> "Visual C++" -> "X64 Compilers and Tools"
\r
41 available in the VS.NET2008 Professional and higher.
\r
42 This will provide you with a cross-compiler and a suitable
\r
43 command shell. On XP64, there will also be a native compiler.
\r
44 -# \b Optional but recommended: Install Microsoft SDK for Windows Vista (February 2007 Update)
\r
45 - http://www.microsoft.com/downloads/details.aspx?FamilyID=FF6467E6-5BBA-4BF5-B562-9199BE864D29 .
\r
46 Make sure you install the x64 compiler, header and libraries if you want to build in x64.
\r
47 - Open "Microsoft Windows SDK", "Visual Studio Registration", "Integrate Windows SDK with Visual Studio 2008"
\r
48 to make sure Visual Studio uses the latest SDK headers and libraries.
\r
49 -# \b Optional: Install the MSDN Library (documentation) from
\r
50 http://www.microsoft.com/downloads/details.aspx?familyid=B8704100-0127-4D88-9B5D-896B9B388313
\r
51 You can always access it online at http://msdn2.microsoft.com/en-us/Library
\r
53 \subsection Requirements2 Next you need to install some utilities/programs.
\r
54 - WiX(\b 1) http://wix.sourceforge.net
\r
56 (\b 1) Above 3.0 version
\r
58 \section get external source code
\r
59 git submodule update --init
\r
61 \section build32 Building 32 bit packages
\r
63 Open TortoiseGit.sln
\r
66 \section Create MSI Package
\r
68 Before create MSI Package, you need build tortoisegit release version.
\r