Page 1 of 1
show_licenses()
Posted: Mon Nov 17, 2014 2:14 pm
by BinoX
It would be nice if you could put this at the top of the code somewhere and have the compiler output a list of the licences that your application has used so you can properly attribute things in an application "about" box.
Failing this, having a bit of licence text or a mention of the licence in the relevant help file section would be useful.
(Unless there's a really obvious way of doing this that I've missed)
Re: show_licenses()
Posted: Mon Nov 17, 2014 5:17 pm
by bbanelli
BinoX wrote:It would be nice if you could put this at the top of the code somewhere and have the compiler output a list of the licences that your application has used so you can properly attribute things in an application "about" box.
Failing this, having a bit of licence text or a mention of the licence in the relevant help file section would be useful.
(Unless there's a really obvious way of doing this that I've missed)
License file for PureBasic applications (without using 3D engine commands)
License file for the 3D engine integrated with PureBasic?
So you can basically make this function DIY...
Re: show_licenses()
Posted: Mon Nov 17, 2014 9:21 pm
by BinoX
I know about that page...
The problem is there's no way of telling 100% for sure that a particular function uses a certain license...
Things like libpng are obvious (to me at least)
But do any functions of purebasic use zlib internally.. I have no idea what "pcre" is so am unsure as to what uses that... Same with jcalg1
I imagine that 99% of what I do would use nothing more than libpng... But I do like to be sure.
Re: show_licenses()
Posted: Mon Nov 17, 2014 11:18 pm
by Tenaja
It would be very handy if PB could auto-generate the license file.
It would also be helpful if every help page covered every lib license involved.
In the meantime, you can search for specific libraries, for instance google this:
jcalg1 site:
http://www.purebasic.com/documentation/