| 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 |
|
| 9 |
echo Sit back and have a cup of coffee while this grinds through ;) |
| 10 |
echo You asked for *everything*, remember? |
| 11 |
echo. |
| 12 |
|
| 13 |
title Building Tcl, please wait... |
| 14 |
|
| 15 |
if "%MSVCDir%" == "" call c:\dev\devstudio60\vc98\bin\vcvars32.bat |
| 16 |
::if "%MSVCDir%" == "" call "C:\Program Files\Microsoft Developer Studio\vc98\bin\vcvars32.bat" |
| 17 |
set INSTALLDIR=C:\Program Files\Tcl |
| 18 |
|
| 19 |
:: Build the normal stuff along with the help file. |
| 20 |
:: |
| 21 |
nmake -nologo -f makefile.vc release winhelp OPTS=none |
| 22 |
if errorlevel 1 goto error |
| 23 |
|
| 24 |
:: Build the static core, dlls and shell. |
| 25 |
:: |
| 26 |
nmake -nologo -f makefile.vc release OPTS=static |
| 27 |
if errorlevel 1 goto error |
| 28 |
|
| 29 |
:: Build the special static libraries that use the dynamic runtime. |
| 30 |
:: |
| 31 |
nmake -nologo -f makefile.vc core dlls OPTS=static,msvcrt |
| 32 |
if errorlevel 1 goto error |
| 33 |
|
| 34 |
:: Build the core and shell for thread support. |
| 35 |
:: |
| 36 |
nmake -nologo -f makefile.vc shell OPTS=threads |
| 37 |
if errorlevel 1 goto error |
| 38 |
|
| 39 |
:: Build a static, thread support core library (no shell). |
| 40 |
:: |
| 41 |
nmake -nologo -f makefile.vc core OPTS=static,threads |
| 42 |
if errorlevel 1 goto error |
| 43 |
|
| 44 |
:: Build the special static libraries the use the dynamic runtime, |
| 45 |
:: but now with thread support. |
| 46 |
:: |
| 47 |
nmake -nologo -f makefile.vc core dlls OPTS=static,msvcrt,threads |
| 48 |
if errorlevel 1 goto error |
| 49 |
|
| 50 |
goto end |
| 51 |
|
| 52 |
:error |
| 53 |
echo *** BOOM! *** |
| 54 |
|
| 55 |
:end |
| 56 |
title Building Tcl, please wait...DONE! |
| 57 |
echo DONE! |
| 58 |
pause |
| 59 |
|