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