summaryrefslogtreecommitdiffstats
path: root/Help/module
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/module
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/module')
-rw-r--r--Help/module/GoogleTest.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Help/module/GoogleTest.rst b/Help/module/GoogleTest.rst
new file mode 100644
index 0000000..3d4cc97
--- /dev/null
+++ b/Help/module/GoogleTest.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/GoogleTest.cmake