wxWidgets / wxWidgets

Cross-Platform C++ GUI Library
https://www.wxwidgets.org/
5.77k stars 1.7k forks source link

Include LICENSE.txt in Dev.7z, Headers.7z, Release*.7z #24491

Closed ncook-hxgn closed 3 weeks ago

ncook-hxgn commented 3 weeks ago

Description

When I downloaded the source archive in an attempt to build wxwidgets, I was able to access license info.

When I realised I couldn't control the output directory of the build (and I wanted to build debug and release to different folders without cloning/unzipping twice), I moved to downloading prebuilt binaries.

The prebuilt binary, symbol, dev and header archives don't contain any license files. I need to include this license file with wxiwdgets for legal reasons, so it would be nice if the/a license.txt was included in these archives.

vadz commented 3 weeks ago

This looks like a good idea and it should be enough to update build/tools/msvs/package.bat to copy docs/licence.txt to the directories being packaged. If you could please do it and test that it works, please open a PR with this change.

cc @doscott just in case there is an even better/simpler way to do this.