1@echo off 2 3:: This is an example batchfile for building everything. Please 4:: edit this (or make your own) for your needs and wants using 5:: the instructions for calling makefile.vc found in makefile.vc 6:: 7:: RCS: @(#) $Id: buildall.vc.bat,v 1.6 2002/11/04 05:50:19 davygrvy Exp $ 8 9echo Sit back and have a cup of coffee while this grinds through ;) 10echo You asked for *everything*, remember? 11echo. 12 13title Building Tcl, please wait... 14 15if "%MSVCDir%" == "" call c:\dev\devstudio60\vc98\bin\vcvars32.bat 16::if "%MSVCDir%" == "" call "C:\Program Files\Microsoft Developer Studio\vc98\bin\vcvars32.bat" 17set INSTALLDIR=C:\Program Files\Tcl 18 19:: Build the normal stuff along with the help file. 20:: 21nmake -nologo -f makefile.vc release winhelp OPTS=none 22if errorlevel 1 goto error 23 24:: Build the static core, dlls and shell. 25:: 26nmake -nologo -f makefile.vc release OPTS=static 27if errorlevel 1 goto error 28 29:: Build the special static libraries that use the dynamic runtime. 30:: 31nmake -nologo -f makefile.vc core dlls OPTS=static,msvcrt 32if errorlevel 1 goto error 33 34:: Build the core and shell for thread support. 35:: 36nmake -nologo -f makefile.vc shell OPTS=threads 37if errorlevel 1 goto error 38 39:: Build a static, thread support core library (no shell). 40:: 41nmake -nologo -f makefile.vc core OPTS=static,threads 42if errorlevel 1 goto error 43 44:: Build the special static libraries the use the dynamic runtime, 45:: but now with thread support. 46:: 47nmake -nologo -f makefile.vc core dlls OPTS=static,msvcrt,threads 48if errorlevel 1 goto error 49 50goto end 51 52:error 53echo *** BOOM! *** 54 55:end 56title Building Tcl, please wait...DONE! 57echo DONE! 58pause 59 60