Tests/RunCMake/GoogleTest/GoogleTestDiscoveryTestListScoped.cmake
raw| 1 | enable_language(CXX) |
| 2 | |
| 3 | # 'GoogleTest' module is NOT included here by design to validate that including |
| 4 | # it in a subdirectory will still result in test discovery working correctly if |
| 5 | # 'gtest_discover_tests()' is invoked from a different scope. |
| 6 | |
| 7 | enable_testing() |
| 8 | |
| 9 | include(xcode_sign_adhoc.cmake) |
| 10 | |
| 11 | add_subdirectory(GoogleTestDiscoveryTestListScoped) |
| 12 | |
| 13 | add_gtest_executable(test_list_scoped_test test_list_test.cpp) |