mingwmake.bat
changeset 895 b3aea8e7474c
parent 881 9a58acda666b
child 1057 961ccf692782
--- a/mingwmake.bat	Fri Sep 04 11:36:36 2015 +0200
+++ b/mingwmake.bat	Tue Oct 27 15:52:20 2015 +0000
@@ -4,6 +4,9 @@
 @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