-
-
Notifications
You must be signed in to change notification settings - Fork 34.7k
gh-150836: Build Tcl/Tk with noembed on Windows #150888
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| On Windows Tcl/Tk 9.0.3 is built without embedded Tcl/Tk library scripts. | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -55,15 +55,15 @@ | |
| <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
|
|
||
| <PropertyGroup> | ||
| <TclOpts>msvcrt</TclOpts> | ||
| <TclOpts Condition="$(Configuration) == 'Debug'">symbols,msvcrt</TclOpts> | ||
| <TclOpts>noembed,msvcrt</TclOpts> | ||
| <TclOpts Condition="$(Configuration) == 'Debug'">symbols,noembed,msvcrt</TclOpts> | ||
| <TclDirs>BUILDDIRTOP="$(BuildDirTop)" INSTALLDIR="$(OutDir.TrimEnd(`\`))" INSTALL_DIR="$(OutDir.TrimEnd(`\`))"</TclDirs> | ||
| <DebugFlags Condition="'$(Configuration)' == 'Debug'">DEBUGFLAGS="-wd4456 -wd4457 -wd4458 -wd4459 -wd4996"</DebugFlags> | ||
| <WarningsFlags>WARNINGS="-W3 -wd4311 -wd4312"</WarningsFlags> | ||
| <NMakeBuildCommandLine>setlocal | ||
| set VCINSTALLDIR=$(VCInstallDir) | ||
| cd /D "$(tclDir)win" | ||
| nmake -f makefile.vc MACHINE=$(TclMachine) OPTS=$(TclOpts) $(TclDirs) $(DebugFlags) $(WarningsFlags) $(TclshNativeFlag) core shell dlls | ||
| nmake -f makefile.vc MACHINE=$(TclMachine) OPTS=$(TclOpts) $(TclDirs) $(DebugFlags) $(WarningsFlags) $(TclshNativeFlag) core shell dlls libtclzip | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does the extra target create any more DLLs that we need to include in the distribution?
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This new target does not require any new DLLs. This just explicitly requests for libtcl9.0.3.zip to be created. It is needed in the install step as the file is copied into the lib directory regardless of the embed/noembed option. When using the default embed option this file is created automatically and then embedded at the end of the DLL. It seem odd that this file is included in the |
||
| nmake -f makefile.vc MACHINE=$(TclMachine) OPTS=$(TclOpts) $(TclDirs) $(DebugFlags) $(WarningsFlags) $(TclshNativeFlag) install-binaries install-libraries | ||
| copy /Y ..\license.terms "$(OutDir)\tcllicense.terms" | ||
| </NMakeBuildCommandLine> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
User blurbs should describe the behavior fix, not the esoteric internal change.