vcmake.bat
branchjv
changeset 15950 23be8cf85415
parent 15879 9a11c602ebcf
child 16408 bc62fb9a8df6
--- a/vcmake.bat	Fri Nov 13 06:40:27 2015 +0100
+++ b/vcmake.bat	Mon Nov 16 13:33:19 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% %*