summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authordavygrvy <davygrvy>2002-03-29 03:55:41 (GMT)
committerdavygrvy <davygrvy>2002-03-29 03:55:41 (GMT)
commit41a7471cc69e20b7ee86e250428257fd4848b155 (patch)
treee711d27809fe7a71d2aca7f7b167e074732ab9df /win
parent8b0c4017708838f1cc61113e83222819abc6bdb7 (diff)
downloadtk-41a7471cc69e20b7ee86e250428257fd4848b155.zip
tk-41a7471cc69e20b7ee86e250428257fd4848b155.tar.gz
tk-41a7471cc69e20b7ee86e250428257fd4848b155.tar.bz2
updated to match Tcl
Diffstat (limited to 'win')
-rwxr-xr-xwin/buildall.vc.bat35
1 files changed, 29 insertions, 6 deletions
diff --git a/win/buildall.vc.bat b/win/buildall.vc.bat
index afd15c7..8a7c59d 100755
--- a/win/buildall.vc.bat
+++ b/win/buildall.vc.bat
@@ -1,13 +1,36 @@
@echo off
-if "%MSVCDir%" == "" call c:\dev\devstudio60\vc98\bin\vcvars32.bat
-set INSTALLDIR=C:\tclTestArea
+:: 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/03/29 03:55:41 davygrvy Exp $
+
+echo Sit back and have a cup of coffee while this grinds through ;)
+echo You asked for *everything*, remember?
+echo.
+
+if "%MSVCDir%" == "" call C:\dev\devstudio60\vc98\bin\vcvars32.bat
+set INSTALLDIR=C:\progra~1\tcl
set TCLDIR=..\..\tcl_head
-nmake -nologo -f makefile.vc release
+nmake -nologo -f makefile.vc release winhelp OPTS=none
+if errorlevel 1 goto error
nmake -nologo -f makefile.vc release OPTS=static,linkexten
-nmake -nologo -f makefile.vc core OPTS=static,msvcrt
-nmake -nologo -f makefile.vc release OPTS=static,threads,linkexten
-nmake -nologo -f makefile.vc core OPTS=static,msvcrt,threads
+if errorlevel 1 goto error
+nmake -nologo -f makefile.vc core 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 core OPTS=static,msvcrt,threads
+if errorlevel 1 goto error
nmake -nologo -f makefile.vc release OPTS=threads
+if errorlevel 1 goto error
+goto end
+
+:error
+echo *** BOOM! ***
+
+:end
+echo done!
pause