os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/win/buildall.vc.bat
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/win/buildall.vc.bat	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,59 @@
     1.4 +@echo off
     1.5 +
     1.6 +::  This is an example batchfile for building everything. Please
     1.7 +::  edit this (or make your own) for your needs and wants using
     1.8 +::  the instructions for calling makefile.vc found in makefile.vc
     1.9 +::
    1.10 +::  RCS: @(#) $Id: buildall.vc.bat,v 1.6 2002/11/04 05:50:19 davygrvy Exp $
    1.11 +
    1.12 +echo Sit back and have a cup of coffee while this grinds through ;)
    1.13 +echo You asked for *everything*, remember?
    1.14 +echo.
    1.15 +
    1.16 +title Building Tcl, please wait...
    1.17 +
    1.18 +if "%MSVCDir%" == "" call c:\dev\devstudio60\vc98\bin\vcvars32.bat
    1.19 +::if "%MSVCDir%" == "" call "C:\Program Files\Microsoft Developer Studio\vc98\bin\vcvars32.bat"
    1.20 +set INSTALLDIR=C:\Program Files\Tcl
    1.21 +
    1.22 +:: Build the normal stuff along with the help file.
    1.23 +::
    1.24 +nmake -nologo -f makefile.vc release winhelp OPTS=none
    1.25 +if errorlevel 1 goto error
    1.26 +
    1.27 +:: Build the static core, dlls and shell.
    1.28 +::
    1.29 +nmake -nologo -f makefile.vc release OPTS=static
    1.30 +if errorlevel 1 goto error
    1.31 +
    1.32 +:: Build the special static libraries that use the dynamic runtime.
    1.33 +::
    1.34 +nmake -nologo -f makefile.vc core dlls OPTS=static,msvcrt
    1.35 +if errorlevel 1 goto error
    1.36 +
    1.37 +:: Build the core and shell for thread support.
    1.38 +::
    1.39 +nmake -nologo -f makefile.vc shell OPTS=threads
    1.40 +if errorlevel 1 goto error
    1.41 +
    1.42 +:: Build a static, thread support core library (no shell).
    1.43 +::
    1.44 +nmake -nologo -f makefile.vc core OPTS=static,threads
    1.45 +if errorlevel 1 goto error
    1.46 +
    1.47 +:: Build the special static libraries the use the dynamic runtime,
    1.48 +:: but now with thread support.
    1.49 +::
    1.50 +nmake -nologo -f makefile.vc core dlls OPTS=static,msvcrt,threads
    1.51 +if errorlevel 1 goto error
    1.52 +
    1.53 +goto end
    1.54 +
    1.55 +:error
    1.56 +echo *** BOOM! ***
    1.57 +
    1.58 +:end
    1.59 +title Building Tcl, please wait...DONE!
    1.60 +echo DONE!
    1.61 +pause
    1.62 +