Posted to tcl by fvogel at Sun Dec 04 19:36:13 GMT 2016view pretty

REM This is to adjust where the work should take place
set MYTCL="C:\Users\francois\Documents\Development\tcltk-fossil\tcl"
set MYTK="C:\Users\francois\Documents\Development\tcltk-fossil\tk"
set MYTCLTK="C:\Users\francois\Documents\Development\tcltk-fossil\tcltk"

REM for a release build and install:
REM   set DEBUGRELEASE="none"
REM for a debug build and install:
  set DEBUGRELEASE="symbols"

REM VC++ environment variables  (Visual 9 - Express Edition)
CALL "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"

REM Compile tcl
cd %MYTCL%\win
nmake -f makefile.vc realclean OPTS=%DEBUGRELEASE%
nmake -f makefile.vc release OPTS=%DEBUGRELEASE%
nmake -f makefile.vc install INSTALLDIR=%MYTCLTK% OPTS=%DEBUGRELEASE%

REM Compile tk
cd %MYTK%\win
nmake -f makefile.vc realclean TCLDIR=%MYTCL% OPTS=%DEBUGRELEASE%
nmake -f makefile.vc release TCLDIR=%MYTCL% OPTS=%DEBUGRELEASE%
nmake -f makefile.vc install TCLDIR=%MYTCL% INSTALLDIR=%MYTCLTK% OPTS=%DEBUGRELEASE%