summaryrefslogtreecommitdiffstats
path: root/win/buildall.vc.bat
diff options
context:
space:
mode:
Diffstat (limited to 'win/buildall.vc.bat')
-rwxr-xr-xwin/buildall.vc.bat31
1 files changed, 23 insertions, 8 deletions
diff --git a/win/buildall.vc.bat b/win/buildall.vc.bat
index 2302881..74c6e29 100755
--- a/win/buildall.vc.bat
+++ b/win/buildall.vc.bat
@@ -1,19 +1,34 @@
@echo off
-rem
-rem This is an example batchfile for building everything. Please
-rem edit this (or make your own) for your needs and wants using
-rem the instructions for calling makefile.vc found in makefile.vc
-rem
-rem RCS: @(#) $Id: buildall.vc.bat,v 1.2 2001/11/20 04:23:53 davygrvy Exp $
+:: This is an example batchfile for building everything. Please
+:: edit this (or make your own) for your needs and wants using
+:: the instructions for calling makefile.vc found in makefile.vc
+::
+:: RCS: @(#) $Id: buildall.vc.bat,v 1.3 2002/02/20 19:06:53 davygrvy Exp $
-if "%MSVCDir%" == "" call c:\progra~1\micros~4\vc98\bin\vcvars32.bat
-set INSTALLDIR=d:\tclTestArea
+echo Sit back and have a couple cups of coffee while this grinds through ;)
+echo You asked for *everything*, remember?
+echo.
+
+if "%MSVCDir%" == "" call C:\progra~1\micros~4\vc98\bin\vcvars32.bat
+set INSTALLDIR=C:\progra~1\tcl
nmake -nologo -f makefile.vc release winhelp OPTS=none
+if errorlevel 1 goto error
nmake -nologo -f makefile.vc release OPTS=static
+if errorlevel 1 goto error
nmake -nologo -f makefile.vc core dlls OPTS=static,msvcrt
+if errorlevel 1 goto error
nmake -nologo -f makefile.vc core OPTS=static,threads
+if errorlevel 1 goto error
nmake -nologo -f makefile.vc dlls OPTS=static,msvcrt,threads
+if errorlevel 1 goto error
nmake -nologo -f makefile.vc shell OPTS=threads
+if errorlevel 1 goto error
+goto end
+
+:error
+echo **BOOM!**
+
+:end
pause