45const std::string& comment) {
48 comment +
" Copyright (c) " + year +
" Tampere University.\n"
50 + comment +
" Module generated by OpenASIP.\n"
52 + comment +
" Permission is hereby granted, free of charge, to any"
53 " person obtaining a\n"
54 + comment +
" copy of this software and associated documentation files"
55 " (the \"Software\"),\n"
56 + comment +
" to deal in the Software without restriction, including"
57 " without limitation\n"
58 + comment +
" the rights to use, copy, modify, merge, publish, "
59 "distribute, sublicense,\n"
60 + comment +
" and/or sell copies of the Software, and to permit "
61 "persons to whom the\n"
62 + comment +
" Software is furnished to do so, subject to the following"
65 + comment +
" The above copyright notice and this permission notice"
66 " shall be included in\n"
67 + comment +
" all copies or substantial portions of the Software.\n"
69 + comment +
" THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY"
70 " OF ANY KIND, EXPRESS OR\n"
71 + comment +
" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES"
72 " OF MERCHANTABILITY,\n"
73 + comment +
" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT."
74 " IN NO EVENT SHALL THE\n"
75 + comment +
" AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,"
77 + comment +
" LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR"
78 " OTHERWISE, ARISING\n"
79 + comment +
" FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR"
81 + comment +
" DEALINGS IN THE SOFTWARE.\n\n";
static std::string generateMITLicense(const std::string &year, const std::string &comment)