vcmake.bat
branchjv
changeset 3970 db0539a03787
parent 3891 d13b7cbc93cc
--- a/vcmake.bat	Thu Jun 16 06:48:02 2016 +0200
+++ b/vcmake.bat	Fri Jun 17 11:20:48 2016 +0100
@@ -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% %*