Tests/RunCMake/GoogleTest/GoogleTestDiscoveryFlushScript.cmake
raw| 1 | enable_language(CXX) |
| 2 | include(GoogleTest) |
| 3 | |
| 4 | enable_testing() |
| 5 | |
| 6 | include(xcode_sign_adhoc.cmake) |
| 7 | |
| 8 | add_executable(flush_script_test flush_script_test.cpp) |
| 9 | xcode_sign_adhoc(flush_script_test) |
| 10 | gtest_discover_tests( |
| 11 | flush_script_test |
| 12 | ) |
| 13 | |
| 14 | configure_file(GoogleTest-discovery-flush-script-check-list.cmake.in |
| 15 | check-test-lists.cmake |
| 16 | @ONLY |
| 17 | ) |
| 18 | set_property(DIRECTORY APPEND PROPERTY TEST_INCLUDE_FILES |
| 19 | ${CMAKE_CURRENT_BINARY_DIR}/check-test-lists.cmake |
| 20 | ) |