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

  1. REM This is to adjust where the work should take place
  2. set MYTCL="C:\Users\francois\Documents\Development\tcltk-fossil\tcl"
  3. set MYTK="C:\Users\francois\Documents\Development\tcltk-fossil\tk"
  4. set MYTCLTK="C:\Users\francois\Documents\Development\tcltk-fossil\tcltk"
  5.  
  6. REM for a release build and install:
  7. REM set DEBUGRELEASE="none"
  8. REM for a debug build and install:
  9. set DEBUGRELEASE="symbols"
  10.  
  11. REM VC++ environment variables (Visual 9 - Express Edition)
  12. CALL "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"
  13.  
  14. REM Compile tcl
  15. cd %MYTCL%\win
  16. nmake -f makefile.vc realclean OPTS=%DEBUGRELEASE%
  17. nmake -f makefile.vc release OPTS=%DEBUGRELEASE%
  18. nmake -f makefile.vc install INSTALLDIR=%MYTCLTK% OPTS=%DEBUGRELEASE%
  19.  
  20. REM Compile tk
  21. cd %MYTK%\win
  22. nmake -f makefile.vc realclean TCLDIR=%MYTCL% OPTS=%DEBUGRELEASE%
  23. nmake -f makefile.vc release TCLDIR=%MYTCL% OPTS=%DEBUGRELEASE%
  24. nmake -f makefile.vc install TCLDIR=%MYTCL% INSTALLDIR=%MYTCLTK% OPTS=%DEBUGRELEASE%
  25.