From 686468d18551792bb06915c86685bcf2f358295a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Sat, 3 Sep 2022 22:22:10 +0200 Subject: [PATCH] Explain TU as translation unit where appropriate --- docs/command-line.md | 4 ++-- docs/migrate-v2-to-v3.md | 7 ++++--- docs/tutorial.md | 7 ++++--- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/docs/command-line.md b/docs/command-line.md index 218e2f59..17f2ea0d 100644 --- a/docs/command-line.md +++ b/docs/command-line.md @@ -339,8 +339,8 @@ Test cases are ordered one of three ways: ### decl Declaration order (this is the default order if no --order argument is provided). -Tests in the same TU are sorted using their declaration orders, different -TUs are in an implementation (linking) dependent order. +Tests in the same translation unit are sorted using their declaration orders, +different TUs are sorted in an implementation (linking) dependent order. ### lex diff --git a/docs/migrate-v2-to-v3.md b/docs/migrate-v2-to-v3.md index a9c2bb63..84ed7690 100644 --- a/docs/migrate-v2-to-v3.md +++ b/docs/migrate-v2-to-v3.md @@ -21,9 +21,10 @@ reduced by roughly 80%. The improved ease of maintenance also led to various runtime performance improvements and the introduction of new features. For details, look at [the release notes of 3.0.1](release-notes.md#301). -_Note that we still provide one header + one TU distribution but do -not consider it the primarily supported option. You should also expect -that the compilation times will be worse if you use this option._ +_Note that we still provide one header + one translation unit (TU) +distribution but do not consider it the primarily supported option. You +should also expect that the compilation times will be worse if you use +this option._ ## How to migrate projects from v2 to v3 diff --git a/docs/tutorial.md b/docs/tutorial.md index 55a11714..9216e9fd 100644 --- a/docs/tutorial.md +++ b/docs/tutorial.md @@ -13,9 +13,10 @@ ## Getting Catch2 Ideally you should be using Catch2 through its [CMake integration](cmake-integration.md#top). -Catch2 also provides pkg-config files and single TU distribution, but this -documentation will assume you are using CMake. If you are using single-TU -distribution instead, remember to replace the included header with `catch_amalgamated.hpp`. +Catch2 also provides pkg-config files and two file (header + cpp) +distribution, but this documentation will assume you are using CMake. If +you are using the two file distribution instead, remember to replace +the included header with `catch_amalgamated.hpp`. ## Writing tests