automatic generation of a license.txt

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

automatic generation of a license.txt

Post by GPI »

It would be nice, if the compiler could automatic generate a "<programname>-license.txt" when generating a execute (option in the compileroptions). At the moment there are two big licenses in the help file.
When in every PB-Library is a mark, that it need the for example the "aes.txt" as license the compiler could copy only the necassary parts because he know which libs are linked.

maybe also this would be nice:

Code: Select all

DataSection
license:
  IncludeBinaryLicense(#pb_utf8)
EndDataSection
Edit: and maybe a option, that necassary dlls are automatic copyed to the exe-directory, like the Engine3D.dll.