vcmake.bat
changeset 895 b3aea8e7474c
parent 881 9a58acda666b
child 1057 961ccf692782
--- a/vcmake.bat	Fri Sep 04 11:36:36 2015 +0200
+++ b/vcmake.bat	Tue Oct 27 15:52:20 2015 +0000
@@ -10,6 +10,10 @@
     popd
 )
 @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%"
+
 
 make.exe -N -f bc.mak -DUSEVC=1 %DEFINES% %*