Skip to content

Expand capabilities of gtest_add_tests()

Craig Scott requested to merge craig.scott/cmake:gtest_add_tests into master

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.

Merge request reports