[cmake-developers] FindGTest modification

Zak Eckert eckertzs1 at gmail.com
Fri Mar 11 12:00:59 EST 2016


I have made a small edit to the FindGTest module that eliminates the need
to manually rerun cmake when new tests are added to existing test files
when using the gtest_add_tests function.  There are false positives when
the test files are modified without adding/removing tests.  Additionally it
adds a copy of the test source files in the cmake_current_binary_directory
(since configure_file is used to add the dependency).

Zak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20160311/e5e84b42/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Eliminated-need-to-rerun-cmake-when-changing-tests.patch
Type: text/x-patch
Size: 1596 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20160311/e5e84b42/attachment.bin>


More information about the cmake-developers mailing list