
I'm taking a page from Dolphin's book, and including copies of each dependency's source code. This combines the ease of use of including pre-built libraries instead of needing to navigate a package manager - as is (or was) the case for MSVC - with the portability of using packages. Granted, this method's more of a jack of all trades, master of none, since it's *less* user-friendly than prebuilt packages (compilation times), and you don't get the per-distro compatibility fixes you'd get from a package manager. You can still use system libs if you want. In fact, it's still the default behaviour: compiling the libs manually is just a fallback. I'll add an option to force-enable this soon, however, since it's a nicer way to produce static MSYS2 builds than the hackish nightmare that I was using before. Not to mention, having my own copy of the sources means I can provide my own fixes and tweaks your package manager may not. For example, I can combine MSYS2's FreeType subpixel rendering with vcpkg's fix for SDL2 exporting its symbols in static builds.
73 lines
2.9 KiB
C
73 lines
2.9 KiB
C
|
|
static const char * const comment_text[] = {
|
|
// GNU Public License/GPL Header
|
|
"//\n"
|
|
"// NameOfProgram, ShortDescription\n"
|
|
"// Copyright (C) YYYY NameOfAuthor\n"
|
|
"//\n"
|
|
"// This program is free software; you can redistribute it and/or\n"
|
|
"// modify it under the terms of the GNU General Public License\n"
|
|
"// as published by the Free Software Foundation; either version 2\n"
|
|
"// of the License, or (at your option) any later version.\n"
|
|
"//\n"
|
|
"// This program is distributed in the hope that it will be useful,\n"
|
|
"// but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
|
|
"// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
|
|
"// GNU General Public License for more details.\n"
|
|
"//\n"
|
|
"// You should have received a copy of the GNU General Public License\n"
|
|
"// along with this program; if not, write to the Free Software\n"
|
|
"// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
|
|
"//\n",
|
|
// GNU Public License/GPL Footer
|
|
"\n//\n"
|
|
"// NameOfProgram, ShortDescription\n"
|
|
"// Copyright (C) YYYY NameOfAuthor\n"
|
|
"//",
|
|
// GNU Public License/LGPL Header
|
|
"//\n"
|
|
"// NameOfLibrary, ShortDescription\n"
|
|
"// Copyright (C) YYYY NameOfAuthor\n"
|
|
"//\n"
|
|
"// This library is free software; you can redistribute it and/or\n"
|
|
"// modify it under the terms of the GNU Lesser General Public\n"
|
|
"// License as published by the Free Software Foundation; either\n"
|
|
"// version 2.1 of the License, or (at your option) any later version.\n"
|
|
"//\n"
|
|
"// This library is distributed in the hope that it will be useful,\n"
|
|
"// but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
|
|
"// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
|
|
"// GNU Lesser General Public License for more details.\n"
|
|
"//\n"
|
|
"// You should have received a copy of the GNU Lesser General Public\n"
|
|
"// License along with this program; if not, write to the Free Software\n"
|
|
"// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
|
|
"//\n",
|
|
// GNU Public License/LGPL Footer
|
|
"\n//\n"
|
|
"// NameOfLibrary, ShortDescription\n"
|
|
"// Copyright (C) YYYY NameOfAuthor\n"
|
|
"//",
|
|
// FLTK/Header
|
|
"//\n"
|
|
"// \"$Id$\"\n"
|
|
"//\n"
|
|
"// ... for the Fast Light Tool Kit (FLTK).\n"
|
|
"//\n"
|
|
"// Copyright 1998-2010 by Bill Spitzak and others.\n"
|
|
"//\n"
|
|
"// This library is free software. Distribution and use rights are outlined in\n"
|
|
"// the file \"COPYING\" which should have been included with this file. If this\n"
|
|
"// file is missing or damaged, see the license at:\n"
|
|
"//\n"
|
|
"// http://www.fltk.org/COPYING.php\n"
|
|
"//\n"
|
|
"// Please report all bugs and problems on the following page:\n"
|
|
"//\n"
|
|
"// http://www.fltk.org/str.php\n"
|
|
"//\n",
|
|
// FLTK/Footer
|
|
"\n//\n"
|
|
"// End of \"$Id$\".\n"
|
|
"//",
|
|
};
|