Commit Graph

19 Commits

Author SHA1 Message Date
Brad King
86578eccf2 Simplify CMake per-source license notices
Per-source copyright/license notice headers that spell out copyright holder
names and years are hard to maintain and often out-of-date or plain wrong.
Precise contributor information is already maintained automatically by the
version control tool.  Ultimately it is the receiver of a file who is
responsible for determining its licensing status, and per-source notices are
merely a convenience.  Therefore it is simpler and more accurate for
each source to have a generic notice of the license name and references to
more detailed information on copyright holders and full license terms.

Our `Copyright.txt` file now contains a list of Contributors whose names
appeared source-level copyright notices.  It also references version control
history for more precise information.  Therefore we no longer need to spell
out the list of Contributors in each source file notice.

Replace CMake per-source copyright/license notice headers with a short
description of the license and links to `Copyright.txt` and online information
available from "https://cmake.org/licensing".  The online URL also handles
cases of modules being copied out of our source into other projects, so we
can drop our notices about replacing links with full license text.

Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority
of the replacements mechanically.  Manually fix up shebang lines and trailing
newlines in a few files.  Manually update the notices in a few files that the
script does not handle.
2016-09-27 15:14:44 -04:00
Stephen Kelly
2db55ffa56 Remove borland workarounds.
CMake 3.0 is the last release to require to be able to build with
Borland.
2014-10-15 23:16:44 +02:00
Stephen Kelly
310455cc18 Fix some warnings from -Wundef
Other warnings come from kwsys, so the flag can't be enabled.
2012-12-22 12:47:54 +01:00
Brad King
96afb12087 Convert CMake to OSI-approved BSD License
This converts the CMake license to a pure 3-clause OSI-approved BSD
License.  We drop the previous license clause requiring modified
versions to be plainly marked.  We also update the CMake copyright to
cover the full development time range.
2009-09-28 11:43:28 -04:00
Brad King
8d4eda5781 BUG: Move previous parser bugfixes into input file
The command argument parser code is generated by bison.  This change
restores some fixes previously applied to the generated output that were
destroyed by regenerating the parser source.  This time the fixes have
been put in the input file so regenerating the parser will not destroy
them again.
2008-12-18 09:58:01 -05:00
Brad King
625ef26163 ENH: Allow most characters in ENV variable refs
The $ENV{VAR} syntax permits access to environment variables.  This
teaches CMake to recognize most characters in the VAR name since some
environments may have variables with non-C-identifier characters.
2008-12-17 08:24:35 -05:00
Bill Hoffman
2745742e09 STYLE: fix some kwstyle errors 2007-07-27 10:55:24 -04:00
Bill Hoffman
fcad93e172 ENH: user more memory for parser and add test to complex that sets a huge string 2007-07-20 14:08:37 -04:00
Ken Martin
420095c013 COMP: shut up warnings 2007-03-05 10:36:06 -05:00
Brad King
523075ded5 BUG: Do not replace @VAR@ syntax in list files. This addresses bug #2722. 2006-10-04 14:37:42 -04:00
Brad King
0bd4649fe6 COMP: Added missing include for malloc on QNX. 2006-08-24 14:58:22 -04:00
Andy Cedilnik
8c38610588 COMP: Attempt to fix aix build 2006-08-23 12:02:30 -04:00
Brad King
ab61137eb1 COMP: Fix and/or disable warnings for Borland 5.6 build. 2006-08-01 11:38:42 -04:00
Ken Martin
d77fbb9640 STYLE: fix line length 2006-05-10 14:15:15 -04:00
Brad King
8893db3539 COMP: Fix malloc/free declaration for windows compilers. 2006-03-16 14:44:13 -05:00
Brad King
3b43c29a30 ENH: Using patch from Frans Englich to clarify error messages. 2006-03-16 11:57:36 -05:00
Andy Cedilnik
634343c3e8 STYLE: Fix some style issues 2006-03-10 13:06:26 -05:00
Andy Cedilnik
385cced66c ENH: More cleanups 2005-06-13 10:27:05 -04:00
Andy Cedilnik
733c1c193b ENH: Initial import 2005-06-13 10:01:20 -04:00