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.4 2002/11/04 07:49:43 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 Tk, 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" 17 18set INSTALLDIR=C:\Program Files\Tcl 19 20:: Where is the Tcl source directory? 21set TCLDIR=..\..\tcl_head_stock 22::set TCLDIR=..\..\tcl8.4 23 24:: Build the normal stuff along with the help file. 25:: 26nmake -nologo -f makefile.vc release winhelp OPTS=none 27if errorlevel 1 goto error 28 29:: Build the static core, dlls and shell. 30:: 31nmake -nologo -f makefile.vc release OPTS=static 32if errorlevel 1 goto error 33 34:: Build the special static libraries that use the dynamic runtime. 35:: 36nmake -nologo -f makefile.vc core OPTS=static,msvcrt 37if errorlevel 1 goto error 38 39:: Build the core and shell for thread support. 40:: 41nmake -nologo -f makefile.vc release OPTS=threads 42if errorlevel 1 goto error 43 44:: Build a static, thread support core library (no shell). 45:: 46nmake -nologo -f makefile.vc core OPTS=static,threads 47if errorlevel 1 goto error 48 49:: Build the special static libraries the use the dynamic runtime, 50:: but now with thread support. 51:: 52nmake -nologo -f makefile.vc core OPTS=static,msvcrt,threads 53if errorlevel 1 goto error 54 55goto end 56 57:error 58echo *** BOOM! *** 59 60:end 61title Building Tk, please wait...DONE! 62echo DONE! 63pause 64 65