Skip to content

Commit 5644d5c

Browse files
committed
Add license notices to binary for dependencies
Was long overdue.
1 parent 557bad2 commit 5644d5c

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

src/main.cpp

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,21 @@ int main(int argc, char** argv) {
5454
parser.ParseCLI(argc, argv);
5555
} catch (args::Help&) {
5656
std::cerr << parser;
57+
58+
// license information
59+
std::cerr << std::endl
60+
<< "===== library information =====" << std::endl
61+
<< std::endl
62+
<< "This software uses the great CImg library, as well as libjpeg and libpng as well as various Boost libraries and cpp-subprocess." << std::endl
63+
<< std::endl
64+
<< "libjpeg license information: this software is based in part on the work of the Independent JPEG Group" << std::endl
65+
<< std::endl
66+
<< "CImg license information: This software is governed either by the CeCILL or the CeCILL-C "
67+
"license under French law and abiding by the rules of distribution of free software. You can "
68+
"use, modify and or redistribute the software under the terms of the CeCILL or CeCILL-C "
69+
"licenses as circulated by CEA, CNRS and INRIA at the following URL: "
70+
"\"http://cecill.info\"." << std::endl;
71+
5772
return 0;
5873
} catch (args::ParseError& e) {
5974
std::cerr << e.what() << std::endl;

0 commit comments

Comments
 (0)