sl@0: @echo off sl@0: sl@0: :: This is an example batchfile for building everything. Please sl@0: :: edit this (or make your own) for your needs and wants using sl@0: :: the instructions for calling makefile.vc found in makefile.vc sl@0: :: sl@0: :: RCS: @(#) $Id: buildall.vc.bat,v 1.6 2002/11/04 05:50:19 davygrvy Exp $ sl@0: sl@0: echo Sit back and have a cup of coffee while this grinds through ;) sl@0: echo You asked for *everything*, remember? sl@0: echo. sl@0: sl@0: title Building Tcl, please wait... sl@0: sl@0: if "%MSVCDir%" == "" call c:\dev\devstudio60\vc98\bin\vcvars32.bat sl@0: ::if "%MSVCDir%" == "" call "C:\Program Files\Microsoft Developer Studio\vc98\bin\vcvars32.bat" sl@0: set INSTALLDIR=C:\Program Files\Tcl sl@0: sl@0: :: Build the normal stuff along with the help file. sl@0: :: sl@0: nmake -nologo -f makefile.vc release winhelp OPTS=none sl@0: if errorlevel 1 goto error sl@0: sl@0: :: Build the static core, dlls and shell. sl@0: :: sl@0: nmake -nologo -f makefile.vc release OPTS=static sl@0: if errorlevel 1 goto error sl@0: sl@0: :: Build the special static libraries that use the dynamic runtime. sl@0: :: sl@0: nmake -nologo -f makefile.vc core dlls OPTS=static,msvcrt sl@0: if errorlevel 1 goto error sl@0: sl@0: :: Build the core and shell for thread support. sl@0: :: sl@0: nmake -nologo -f makefile.vc shell OPTS=threads sl@0: if errorlevel 1 goto error sl@0: sl@0: :: Build a static, thread support core library (no shell). sl@0: :: sl@0: nmake -nologo -f makefile.vc core OPTS=static,threads sl@0: if errorlevel 1 goto error sl@0: sl@0: :: Build the special static libraries the use the dynamic runtime, sl@0: :: but now with thread support. sl@0: :: sl@0: nmake -nologo -f makefile.vc core dlls OPTS=static,msvcrt,threads sl@0: if errorlevel 1 goto error sl@0: sl@0: goto end sl@0: sl@0: :error sl@0: echo *** BOOM! *** sl@0: sl@0: :end sl@0: title Building Tcl, please wait...DONE! sl@0: echo DONE! sl@0: pause sl@0: