diff options
author | Craig Scott <craig.scott@crascit.com> | 2017-05-14 10:16:27 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2017-05-15 21:57:27 (GMT) |
commit | 6edd1806ddbfc4138dc9987d2a9c7c4fed56306b (patch) | |
tree | c7de7973de6e0958a98e61d39ef5b37a1a21da93 /Help | |
parent | 836cb52e9aec83f88841cb5b45abb1d32bb02214 (diff) | |
download | CMake-6edd1806ddbfc4138dc9987d2a9c7c4fed56306b.zip CMake-6edd1806ddbfc4138dc9987d2a9c7c4fed56306b.tar.gz CMake-6edd1806ddbfc4138dc9987d2a9c7c4fed56306b.tar.bz2 |
GoogleTest: Expand capabilities of gtest_add_tests()
Now has keyword-based arguments (old syntax form is still supported).
Discovered tests can have a prefix and/or suffix added to the test names
and the list of discovered tests is available to the caller. The working
dir can also be set and the dependency on the source files is now
optional instead of mandatory.
Diffstat (limited to 'Help')
-rw-r--r-- | Help/release/dev/ExtractGTestMacro.rst | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Help/release/dev/ExtractGTestMacro.rst b/Help/release/dev/ExtractGTestMacro.rst index 574982c..ff2b444 100644 --- a/Help/release/dev/ExtractGTestMacro.rst +++ b/Help/release/dev/ExtractGTestMacro.rst @@ -2,4 +2,8 @@ ExtractGTestMacro ----------------- * A new :module:`GoogleTest` module was added to provide the - ``gtest_add_tests`` macro independently of the :module:`FindGTest` module. + :command:`gtest_add_tests` function independently of the :module:`FindGTest` + module. The function was also updated to support keyword arguments, with + functionality expanded to allow a test name prefix and suffix to be + specified, the dependency on the source files to be optional and the list of + discovered test cases to be returned to the caller. |