Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
103 changes: 103 additions & 0 deletions cmake-licenses/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
Contributors
************

The following individuals and institutions are among the contributors:

* `Aaron C. Meadows <mailto:cmake@shadowguarddev.com>`__
* `Adriaan de Groot <mailto:groot@kde.org>`__
* `Aleksey Avdeev <mailto:solo@altlinux.ru>`__
* `Alexander Neundorf <mailto:neundorf@kde.org>`__
* `Alexander Smorkalov <mailto:alexander.smorkalov@itseez.com>`__
* `Alexey Sokolov <mailto:sokolov@google.com>`__
* `Alex Merry <mailto:alex.merry@kde.org>`__
* `Alex Turbov <mailto:i.zaufi@gmail.com>`__
* `Andreas Pakulat <mailto:apaku@gmx.de>`__
* `Andreas Schneider <mailto:asn@cryptomilk.org>`__
* `André Rigland Brodtkorb <mailto:Andre.Brodtkorb@ifi.uio.no>`__
* Axel Huebl, Helmholtz-Zentrum Dresden - Rossendorf
* Benjamin Eikel
* `Bjoern Ricks <mailto:bjoern.ricks@gmail.com>`__
* `Brad Hards <mailto:bradh@kde.org>`__
* Christopher Harvey
* `Christoph Grüninger <mailto:foss@grueninger.de>`__
* `Clement Creusot <mailto:creusot@cs.york.ac.uk>`__
* `Daniel Blezek <mailto:blezek@gmail.com>`__
* `Daniel Pfeifer <mailto:daniel@pfeifer-mail.de>`__
* `Dawid Wróbel <mailto:me@dawidwrobel.com>`__
* `Enrico Scholz <mailto:enrico.scholz@informatik.tu-chemnitz.de>`__
* `Eran Ifrah <mailto:eran.ifrah@gmail.com>`__
* Esben Mose Hansen, Ange Optimization ApS
* `Geoffrey Viola <mailto:geoffrey.viola@asirobots.com>`__
* `Georg Brandl <mailto:georg@python.org>`__
* `Google Inc <https://www.google.com/>`__
* Gregor Jasny
* `Helio Chissini de Castro <mailto:helio@kde.org>`__
* `Ilya Lavrenov <mailto:ilya.lavrenov@itseez.com>`__
* `Insight Software Consortium <https://insightsoftwareconsortium.org/>`__
* `Intel Corporation <https://www.intel.com/>`__
* Jan Woetzel
* `Jordan Williams <mailto:jordan@jwillikers.com>`__
* Julien Schueller
* `Kelly Thompson <mailto:kgt@lanl.gov>`__
* `Konstantin Podsvirov <mailto:konstantin@podsvirov.su>`__
* `Laurent Montel <mailto:montel@kde.org>`__
* `Mario Bensi <mailto:mbensi@ipsquad.net>`__
* `Martin Gräßlin <mailto:mgraesslin@kde.org>`__
* `Mathieu Malaterre <mailto:mathieu.malaterre@gmail.com>`__
* Matthaeus G. Chajdas
* `Matthias Kretz <mailto:kretz@kde.org>`__
* `Matthias Maennich <mailto:matthias@maennich.net>`__
* `Michael Hirsch, Ph.D. <https://www.scivision.dev/>`__
* Michael Stürmer
* Miguel A. Figueroa-Villanueva
* `Mike Durso <mailto:rbprogrammer@gmail.com>`__
* Mike Jackson
* `Mike McQuaid <mailto:mike@mikemcquaid.com>`__
* `Nicolas Bock <mailto:nicolasbock@gmail.com>`__
* `Nicolas Despres <mailto:nicolas.despres@gmail.com>`__
* `Nikita Krupen'ko <mailto:krnekit@gmail.com>`__
* `NVIDIA Corporation <https://www.nvidia.com/>`__
* `OpenGamma Ltd. <https://opengamma.com/>`__
* `Patrick Stotko <mailto:stotko@cs.uni-bonn.de>`__
* `Per Øyvind Karlsen <mailto:peroyvind@mandriva.org>`__
* `Peter Collingbourne <mailto:peter@pcc.me.uk>`__
* `Petr Gotthard <mailto:gotthard@honeywell.com>`__
* `Philip Lowman <mailto:philip@yhbt.com>`__
* `Philippe Proulx <mailto:pproulx@efficios.com>`__
* `Qualcomm Technologies, Inc. <https://www.qualcomm.com>`__
* Raffi Enficiaud, Max Planck Society
* Raumfeld
* `Roger Leigh <mailto:rleigh@codelibre.net>`__
* `Rolf Eike Beer <mailto:eike@sf-mail.de>`__
* `Roman Donchenko <mailto:roman.donchenko@itseez.com>`__
* `Roman Kharitonov <mailto:roman.kharitonov@itseez.com>`__
* Ruslan Baratov
* `Sebastian Holtermann <mailto:sebholt@xwmw.org>`__
* `Stephen Kelly <mailto:steveire@gmail.com>`__
* `Sylvain Joubert <mailto:joubert.sy@gmail.com>`__
* `The Khronos Group <https://www.Khronos.org/>`__
* `The Qt Company Ltd. <https://www.qt.io/>`__
* `Thomas Sondergaard <mailto:ts@medical-insight.com>`__
* `Tobias Hunger <mailto:tobias.hunger@qt.io>`__
* `Todd Gamblin <mailto:tgamblin@llnl.gov>`__
* Tristan Carel
* `University of Dundee <https://www.dundee.ac.uk/>`__
* Vadim Zhukov
* `Will Dicharry <mailto:wdicharry@stellarscience.com>`__

See version control history for details of individual contributions.

Copyright
=========

The accompanying `LICENSE.rst`_ notice applies to distributions of CMake
in source and binary form. We do not require any formal copyright
assignment or contributor license agreement. Any contributions
intentionally sent upstream are presumed to be offered under terms
of the OSI-approved BSD 3-clause License.

Third-party software packages supplied with CMake under compatible
licenses provide their own copyright notices documented in corresponding
subdirectories or source files.

.. _`LICENSE.rst`: LICENSE.rst
20 changes: 7 additions & 13 deletions LICENSE_BSD_3 → cmake-licenses/LICENSE.rst
Original file line number Diff line number Diff line change
@@ -1,25 +1,19 @@
CMake is distributed under the OSI-approved BSD 3-clause License:

CMake - Cross Platform Makefile Generator
Copyright 2000-2014 Kitware, Inc.
Copyright 2000-2011 Insight Software Consortium
All rights reserved.
Copyright 2000-2026 Kitware, Inc. and `Contributors <CONTRIBUTORS.rst>`_

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
notice, this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

* Neither the names of Kitware, Inc., the Insight Software Consortium,
nor the names of their contributors may be used to endorse or promote
products derived from this software without specific prior written
permission.
* Neither the name of Kitware, Inc. nor the names of Contributors
may be used to endorse or promote products derived from this
software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ description = "CMake is an open-source, cross-platform family of tools designed
keywords = ["CMake", "build", "c++", "fortran", "cross-platform", "cross-compilation"]
readme = "README.rst"
license = "Apache-2.0 AND BSD-3-Clause"
license-files = ["LICENSE_Apache_20", "LICENSE_BSD_3"]
license-files = ["LICENSE_Apache_20", "cmake-licenses/CONTRIBUTORS.rst", "cmake-licenses/LICENSE.rst"]
authors = [
{name = "Jean-Christophe Fillion-Robin", email = "jchris.fillionr@kitware.com"},
]
Expand Down
15 changes: 15 additions & 0 deletions scripts/update_cmake_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,20 @@ def update_raw_versions(version: str, filename: str) -> set[str]:
return {filename}


def update_license_files(version: str) -> set[str]:
base_url = f"https://raw.githubusercontent.com/Kitware/CMake/refs/tags/v{version}"
dest_dir = ROOT_DIR / "cmake-licenses"
updated_files = set()
for file in ["CONTRIBUTORS.rst", "LICENSE.rst"]:
url = f"{base_url}/{file}"
dest_path = dest_dir / file
request = requests.get(url)
request.raise_for_status()
dest_path.write_text(request.text, newline="\n")
updated_files.add(str(dest_path.relative_to(ROOT_DIR)))
return updated_files


def main() -> None:
parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument(
Expand Down Expand Up @@ -236,6 +250,7 @@ def main() -> None:
filenames |= update_raw_versions(args.cmake_version, "docs/update_cmake_version.rst")
filenames |= update_raw_versions(args.cmake_version, "docs/make_a_release.rst")
filenames |= update_pyproject_toml(args.cmake_version)
filenames |= update_license_files(args.cmake_version)

if args.quiet:
return
Expand Down
Loading