catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Say that Catch3 as a whole cannot set the LGPL aside
- Commit
b010a902aa01218b67f4a03e046d03204ef670b2- Author
- Leitwolf11 ·
- Parents
eea3be11a9e1
Changes
LICENSES/README.md | 29 +++++++++++++++++++++++++++++ README.md | 8 ++++++++ 2 files changed, 37 insertions(+) diff --git a/LICENSES/README.md b/LICENSES/README.md index c918191b..b5d916ba 100644 --- a/LICENSES/README.md +++ b/LICENSES/README.md @@ -17,9 +17,38 @@ This repository contains two independently licensed source areas: - `PATENTS.md` applies the Progmasoft Patent Grant 1.1, whose text is here, to the Progmasoft-authored files; it does not cover Catch2-originated or vendored files. +## Using Catch3 as a whole + +Catch3 as a whole is not under the Boost Software License. The library and +its build targets (`Catch3::Catch3`, `Catch3::Catch3WithMain`, the Bazel +module and the other build files) contain Progmasoft-authored files under the +LGPL-3.0-or-later. Whoever uses Catch3 as a whole uses those files, and the +conditions of the LGPL apply to them: the BSL-1.0 of the Catch2-originated +files neither lifts nor replaces them. Only a part made of Catch2-originated +files alone, taken out of Catch3, is under the BSL-1.0 alone. + +The conditions take effect when Catch3, or a work that contains it, is +conveyed to someone else: a test binary, a library or a tool with Catch3 +linked in, given or sold to others. Building and running tests on your own +machines and in your own CI conveys nothing. A conveyed work that contains +Catch3 has, among other things, to: + +- say prominently that it uses Catch3 and that Catch3 is under the LGPL, and + come with copies of the GPL-3.0 and LGPL-3.0 texts; +- give the source of the Catch3 it contains, with any change made to it; +- let the recipient relink the work with a modified Catch3: by linking Catch3 + as a shared library, or by giving the object files of the rest of the work. + +The license texts in this directory hold the full conditions; this summary +does not replace them. + +## Earlier releases + Releases before 0.5.0 keep the license they were published under: MPL-2.0 with the Progmasoft Linking Exception for the Progmasoft-authored files. +## Keeping the boundary + New Progmasoft files are kept separate from upstream files so the two license boundaries remain visible. A patch intended for Catch2 upstream must follow the upstream contribution instructions and must not be copied from a differently diff --git a/README.md b/README.md index c452254a..5ba5baec 100644 --- a/README.md +++ b/README.md @@ -118,3 +118,11 @@ their own licenses. [LICENSES/README.md](LICENSES/README.md) maps which file is under which license; releases before 0.5.0 keep the license they were published under. Progmasoft-authored code is also covered by the [Progmasoft Patent Grant 1.1](PATENTS.md); Catch2-originated files are not. + +Catch3 as a whole is therefore not under the Boost Software License: whoever +uses the library uses its LGPL files, and the BSL-1.0 of the Catch2-originated +files does not lift the LGPL's conditions. They take effect when Catch3, or a +work that contains it such as a test binary, is given to others; running your +own tests conveys nothing. +[Using Catch3 as a whole](LICENSES/README.md#using-catch3-as-a-whole) +says what a conveyed work has to do.