vcmake.bat
branchjv
changeset 7150 000f5ae96151
parent 7006 c1fdc4df1aa9
child 7541 39940e2446a5
--- a/vcmake.bat	Tue Feb 16 06:42:24 2016 +0100
+++ b/vcmake.bat	Thu Feb 18 23:49:44 2016 +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% %*