diff options
author | Marius Storm-Olsen <mstormo@gmail.com> | 2009-09-16 10:20:30 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-09-18 20:00:42 -0700 |
commit | 259d87c354954e8ee3b241dce1393c27186e8ee7 (patch) | |
tree | c895518b9e1e09c68e1143abf9743b4cd7822d8e /compat/vcbuild | |
parent | a2c6bf0e7661a4e6eafe7810cca1cd08187d311f (diff) | |
download | git-259d87c354954e8ee3b241dce1393c27186e8ee7.tar.gz git-259d87c354954e8ee3b241dce1393c27186e8ee7.tar.xz |
Add scripts to generate projects for other buildsystems (MSVC vcproj, QMake)
These scripts generate projects for the MSVC IDE (.vcproj files) or
QMake (.pro files), based on the output of a 'make -n MSVC=1 V=1' run.
This enables us to simply do the necesarry changes in the Makefile, and you
can update the other buildsystems by regenerating the files. Keeping the
other buildsystems up-to-date with main development.
The generator system is designed to easily drop in pm's for other
buildsystems as well, if someone has an itch. However, the focus has been
Windows development, so the 'engine' might need patches to support any
platform.
Also add some .gitignore entries for MSVC files.
Signed-off-by: Marius Storm-Olsen <mstormo@gmail.com>
Acked-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/vcbuild')
-rw-r--r-- | compat/vcbuild/README | 13 |
1 files changed, 12 insertions, 1 deletions
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! |