From 4f0f5f7e26b851837219a9b8b89c88db61e4dff9 Mon Sep 17 00:00:00 2001 From: Pat Thoyts Date: Wed, 14 Jul 2010 11:00:51 +0100 Subject: [PATCH] Fix msvc build comments and updated the ignore file for msvc files. Signed-off-by: Pat Thoyts --- .gitignore | 16 ++++++++++++++++ Makefile.vc | 20 ++++++++++++-------- 2 files changed, 28 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index ee59f99..b1f72b3 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,19 @@ # Ignore the build directories but not the 8.x extensions directory /8.*/ !/8.x + +# Ignore nmake temporary files +_junk.pch +nmakehlp.exe +nmakehlp.obj +vercl.i +vercl.x +versions.vc +*.pdb +8.x/vqtcl/win/version.vc +8.x/thread/win/vc/version.vc + +# Ignore zlib build products when using msvc +8.x/zlib/*.obj +8.x/zlib/zlib.lib +8.x/zlib/zlib1.lib diff --git a/Makefile.vc b/Makefile.vc index 34002aa..010b621 100644 --- a/Makefile.vc +++ b/Makefile.vc @@ -5,11 +5,12 @@ # To make use of this build system create a build subdirectory # 8.4\kit-msvc or 8.5\kit-msvc and create a Makefile that contains only # -# !include ..\..\Makefile.vc # all: lite heavy +# !include ..\..\Makefile.vc # # Ensure that 8.5\tcl and 8.5\tk contain copies of the tcl and tk sources # (or 8.4\*, or 8.6\* if you are using another version) +# You can download from http://prdownloads.sourceforge.net/tcl/ # # Finally change to this build directory and build it all using # nmake -nologo VERSION=85 @@ -19,17 +20,20 @@ # For example: # # mkdir 8.5 -# mkdir 8.5\win32-ix86 -# echo !include ..\..\Makefile.vc > 8.5\win32-ix86\Makefile -# echo all: lite heavy >> 8.5\win32-ix86\Makefile # cd 8.5 -# cvs -d:pserver:anonymous@tcl.cvs.sourceforge.net:/cvsroot/tcl co -r core-8-5-branch tcl -# cvs -d:pserver:anonymous@tktoolkit.cvs.sourceforge.net:/cvsroot/tktoolkit co -r core-8-5-branch tk +# unzip tcl858-src.zip +# rename tcl8.5.8 tcl +# unzip tk858-src.zip +# rename tk8.5.8 tk +# mkdir win32-ix86 # cd win32-ix86 +# echo all: lite heavy > Makefile +# echo !include ..\..\Makefile.vc >> Makefile # nmake -nologo VERSION=85 # -# You do not have to use cvs. You could just unpack a source archive in the -# correct location. +# If you want to work with the current development versions, then replace the zip +# file download steps with a CVS checkout +# !ifndef VERSION !message *** You must specify the Tcl version. Set VERSION=84, 85 or 86 -- 2.23.0