summaryrefslogtreecommitdiffstats
path: root/Help/manual/cmake-modules.7.rst
diff options
context:
space:
mode:
authorBradley Lowekamp <blowekamp@mail.nih.gov>2017-02-06 16:14:16 (GMT)
committerBrad King <brad.king@kitware.com>2017-02-07 16:24:18 (GMT)
commit9837ed96992a0a5e151c4cb5d4cbe6c7890d7db4 (patch)
treeb16c47f075966160e135b4acbeb8a77001217513 /Help/manual/cmake-modules.7.rst
parentfddc01bab3352d12c0eba1ff781b359a7dec529c (diff)
downloadCMake-9837ed96992a0a5e151c4cb5d4cbe6c7890d7db4.zip
CMake-9837ed96992a0a5e151c4cb5d4cbe6c7890d7db4.tar.gz
CMake-9837ed96992a0a5e151c4cb5d4cbe6c7890d7db4.tar.bz2
GoogleTest: Add module to contain gtest_add_tests independently
Extract the `gtest_add_tests` macro from `FindGTest` into a separate module. GTest or GoogleTest can be used by a project in a several different ways, including installed libraries in the system, from an ExternalProject, or adding the GTest source directory as a sub directory of the project. As not all of these uses are supported by the FindGTest module the useful `gtest_add_tests` macro is separated to easily enable reuse. Issue: #14151
Diffstat (limited to 'Help/manual/cmake-modules.7.rst')
-rw-r--r--Help/manual/cmake-modules.7.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Help/manual/cmake-modules.7.rst b/Help/manual/cmake-modules.7.rst
index d4712ba..2dd56c7 100644
--- a/Help/manual/cmake-modules.7.rst
+++ b/Help/manual/cmake-modules.7.rst
@@ -228,6 +228,7 @@ All Modules
/module/GenerateExportHeader
/module/GetPrerequisites
/module/GNUInstallDirs
+ /module/GoogleTest
/module/InstallRequiredSystemLibraries
/module/MacroAddFileDependencies
/module/ProcessorCount