Added mingwmake.bat to compile under MinGW (for Windows / x86_64 builds)
authorJan Vrany <jan.vrany@fit.cvut.cz>
Mon, 18 May 2015 15:45:10 +0100
changeset 544 045d88134e1d
parent 539 b6877b9f16c7
child 545 534687e55192
Added mingwmake.bat to compile under MinGW (for Windows / x86_64 builds)
mercurial/docs/mingwmake.bat
mingwmake.bat
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mercurial/docs/mingwmake.bat	Mon May 18 15:45:10 2015 +0100
@@ -0,0 +1,16 @@
+@REM -------
+@REM make using mingw gnu compiler
+@REM type mingwmake, and wait...
+@REM do not edit - automatically generated from ProjectDefinition
+@REM -------
+@SET DEFINES=
+@REM Kludge got Mercurial, cannot be implemented in Borland make
+@FOR /F "tokens=*" %%i in ('hg root') do SET HGROOT=%%i
+@IF "%HGROOT%" NEQ "" SET DEFINES=%DEFINES% "-DHGROOT=%HGROOT%"
+
+@pushd ..\..\..\rules
+@call find_mingw.bat
+@popd
+make.exe -N -f bc.mak %DEFINES% %USEMINGW_ARG% %*
+
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mingwmake.bat	Mon May 18 15:45:10 2015 +0100
@@ -0,0 +1,6 @@
+pushd common
+call mingwmake.bat %1 %2 %3 %4 %5 %6 %7 %8 %9
+popd 
+pushd mercurial
+call mingwmake.bat %1 %2 %3 %4 %5 %6 %7 %8 %9
+popd