summaryrefslogtreecommitdiffstats
path: root/win/buildall.vc.bat
diff options
context:
space:
mode:
authordavygrvy <davygrvy@pobox.com>2002-11-04 05:50:19 (GMT)
committerdavygrvy <davygrvy@pobox.com>2002-11-04 05:50:19 (GMT)
commitd9952d775abb77c056da36551547a42f7694ddef (patch)
tree6de01badde20b6019a1be9a838ccc4bdeb8bfad6 /win/buildall.vc.bat
parent0687dfb03c01b6ab1c1ec9c2978bbe5cb0c4e815 (diff)
downloadtcl-d9952d775abb77c056da36551547a42f7694ddef.zip
tcl-d9952d775abb77c056da36551547a42f7694ddef.tar.gz
tcl-d9952d775abb77c056da36551547a42f7694ddef.tar.bz2
* win/tclAppInit.c: Calls Registry_Init() and Dde_Init() when
STATIC_BUILD and TCL_USE_STATIC_PACKAGES macros are set. * win/makefile.vc: * win/rules.vc: linkexten option now sets the TCL_USE_STATIC_PACKAGES macro which also adds the registry and dde object files to the link of the shell. [Patch 479697] Also factored some additional macros that will be helpful for extension authors. Version grepping of tcl.h will need to be added to complete this. * win/buildall.vc.bat: Added more descriptive commentary.
Diffstat (limited to 'win/buildall.vc.bat')
-rwxr-xr-xwin/buildall.vc.bat35
1 files changed, 29 insertions, 6 deletions
diff --git a/win/buildall.vc.bat b/win/buildall.vc.bat
index 84b4576..6aa00d8 100755
--- a/win/buildall.vc.bat
+++ b/win/buildall.vc.bat
@@ -4,32 +4,55 @@
:: edit this (or make your own) for your needs and wants using
:: the instructions for calling makefile.vc found in makefile.vc
::
-:: RCS: @(#) $Id: buildall.vc.bat,v 1.5 2002/03/27 22:57:57 davygrvy Exp $
+:: RCS: @(#) $Id: buildall.vc.bat,v 1.6 2002/11/04 05:50:19 davygrvy Exp $
echo Sit back and have a cup of coffee while this grinds through ;)
echo You asked for *everything*, remember?
echo.
-if "%MSVCDir%" == "" call C:\dev\devstudio60\vc98\bin\vcvars32.bat
-set INSTALLDIR=C:\progra~1\tcl
+title Building Tcl, please wait...
+if "%MSVCDir%" == "" call c:\dev\devstudio60\vc98\bin\vcvars32.bat
+::if "%MSVCDir%" == "" call "C:\Program Files\Microsoft Developer Studio\vc98\bin\vcvars32.bat"
+set INSTALLDIR=C:\Program Files\Tcl
+
+:: Build the normal stuff along with the help file.
+::
nmake -nologo -f makefile.vc release winhelp OPTS=none
if errorlevel 1 goto error
+
+:: Build the static core, dlls and shell.
+::
nmake -nologo -f makefile.vc release OPTS=static
if errorlevel 1 goto error
+
+:: Build the special static libraries that use the dynamic runtime.
+::
nmake -nologo -f makefile.vc core dlls OPTS=static,msvcrt
if errorlevel 1 goto error
+
+:: Build the core and shell for thread support.
+::
+nmake -nologo -f makefile.vc shell OPTS=threads
+if errorlevel 1 goto error
+
+:: Build a static, thread support core library (no shell).
+::
nmake -nologo -f makefile.vc core OPTS=static,threads
if errorlevel 1 goto error
+
+:: Build the special static libraries the use the dynamic runtime,
+:: but now with thread support.
+::
nmake -nologo -f makefile.vc core dlls OPTS=static,msvcrt,threads
if errorlevel 1 goto error
-nmake -nologo -f makefile.vc shell OPTS=threads
-if errorlevel 1 goto error
+
goto end
:error
echo *** BOOM! ***
:end
-echo done!
+title Building Tcl, please wait...DONE!
+echo DONE!
pause