From f7062f6dfbbcc3ac13c215a620bbbe3806fa2c77 Mon Sep 17 00:00:00 2001 From: Keith Smiley Date: Wed, 1 Sep 2021 17:20:13 -0700 Subject: [PATCH] [docs] Improve description of LLVM_BUILD_TESTS This makes it clear that this only has an effect if you use the all build target. Differential Revision: https://reviews.llvm.org/D109113 --- llvm/docs/CMake.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/llvm/docs/CMake.rst b/llvm/docs/CMake.rst index 55a1742..ef62a11 100644 --- a/llvm/docs/CMake.rst +++ b/llvm/docs/CMake.rst @@ -339,12 +339,12 @@ enabled sub-projects. Nearly all of these variable names begin with This option is not available on Windows. **LLVM_BUILD_TESTS**:BOOL - Build LLVM unit tests. Defaults to OFF. Targets for building each unit test - are generated in any case. You can build a specific unit test using the - targets defined under *unittests*, such as ADTTests, IRTests, SupportTests, - etc. (Search for ``add_llvm_unittest`` in the subdirectories of *unittests* - for a complete list of unit tests.) It is possible to build all unit tests - with the target *UnitTests*. + Include LLVM unit tests in the 'all' build target. Defaults to OFF. Targets + for building each unit test are generated in any case. You can build a + specific unit test using the targets defined under *unittests*, such as + ADTTests, IRTests, SupportTests, etc. (Search for ``add_llvm_unittest`` in + the subdirectories of *unittests* for a complete list of unit tests.) It is + possible to build all unit tests with the target *UnitTests*. **LLVM_BUILD_TOOLS**:BOOL Build LLVM tools. Defaults to ON. Targets for building each tool are generated -- 2.7.4