cpm-cmake / CPMLicenses.cmake

📜 Give credit automatically! A license disclaimer generator for your CPM.cmake dependencies.
MIT License
32 stars 2 forks source link

Idea: Generate a summary of used licenses #5

Open CraigHutchinson opened 1 year ago

CraigHutchinson commented 1 year ago

It would be great if along with finding the licenses there were a short summary which could be easier to review. This would require finding a way to 'detect' what type of license the project uses. Very much similar to GitHub does, maybe this can be a good source for regex or similar!

Appears GitHub use this: https://github.com/licensee/licensee

Extension

As an extension to this feature could generate a diagram for use in documentation. using DOT and Graphviz maybe etc. image https://i1.wp.com/www.embeddeduse.com/wp-content/uploads/2016/04/qt-licenses-up-to-5.6.png?ssl=1

TheLartians commented 1 year ago

Thanks for the suggestion, that does sound like a very useful addition to the project!