vcmake.bat
branchjv
changeset 3841 a22f33410bdf
parent 3775 9753e480618e
child 4383 b93f1405b8c7
--- a/vcmake.bat	Thu May 05 06:48:27 2016 +0200
+++ b/vcmake.bat	Thu May 05 00:28:47 2016 +0200
@@ -10,9 +10,14 @@
     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% %*
 
 
+@IF "%1" EQU "test" exit /b 0