From: Zachary Ware Date: Thu, 5 Jun 2014 16:53:44 +0000 (-0500) Subject: Issue #21665: Don't use 'OPTS=noxp' when compiling Tk. X-Git-Tag: v3.5.0a1~1511 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ba9d233d835934b863d4c9aadc77639de25e848a;p=python Issue #21665: Don't use 'OPTS=noxp' when compiling Tk. That option had been for Win2k compatibility (which was dropped with Python 3.3) and makes default ttk ugly on post-Win2k systems. --- ba9d233d835934b863d4c9aadc77639de25e848a diff --cc PCbuild/tk.vcxproj index 3944ef7945,0000000000..d760f87657 mode 100644,000000..100644 --- a/PCbuild/tk.vcxproj +++ b/PCbuild/tk.vcxproj @@@ -1,178 -1,0 +1,178 @@@ + + + + + Debug + Win32 + + + Debug + x64 + + + PGInstrument + Win32 + + + PGInstrument + x64 + + + PGUpdate + Win32 + + + PGUpdate + x64 + + + Release + Win32 + + + Release + x64 + + + + {7E85ECCF-A72C-4DA4-9E52-884508E80BA1} + tk + MakeFileProj + + + + Makefile + NotSet + + + Makefile + NotSet + + + Makefile + NotSet + + + Makefile + NotSet + + + Makefile + NotSet + + + Makefile + NotSet + + + Makefile + NotSet + + + Makefile + NotSet + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ProjectFileVersion>10.0.30319.1 + +IF EXIST $(tcltkDir)\include\tk.h ( + IF EXIST $(tcltkDir)\bin\$(tkDLLName) ( + IF EXIST $(OutDir)$(tkDLLName) ( + echo Tk is already built and available. + exit /b 0 + ) ELSE ( + echo Copying tk dll to $(OutDir) + xcopy $(tcltkDir)\bin\$(tkDLLName) $(OutDir) + exit /b 0 + ) + ) +) + +IF NOT EXIST $(tkDir) ( + echo error: $(tkDir) doesn't exist. + exit 1 +) + +IF "$(Platform)" EQU "Win32" set TclMachine=IX86 +IF "$(Platform)" EQU "x64" set TclMachine=AMD64 + +IF "$(Configuration)" EQU "Debug" ( - set TclOpts=symbols,noxp ++ set TclOpts=symbols +) ELSE ( - set TclOpts=noxp ++ set TclOpts= +) + +cd $(tkDir)\win + +nmake -f makefile.vc MACHINE=%TclMachine% OPTS=%TclOpts% TCLDIR=$(SolutionDir)$(tclDir) all && nmake -f makefile.vc MACHINE=%TclMachine% OPTS=%TclOpts% TCLDIR=$(SolutionDir)$(tclDir) INSTALLDIR=$(SolutionDir)$(tcltkDir) install-binaries install-libraries && xcopy /y $(SolutionDir)$(tcltkDir)\bin\$(tkDLLName) $(OutDir) + + del $(OutDir)$(tkDLLName) +echo Tk must be cleaned manually if you want to rebuild it. + + + + + + {b5fd6f1d-129e-4bff-9340-03606fac7283} + + + + + +