Tests/RunCMake/GoogleTest/GoogleTestDiscoveryTestListExtraArgs.cmake
raw| 1 | enable_language(CXX) |
| 2 | include(GoogleTest) |
| 3 | |
| 4 | enable_testing() |
| 5 | |
| 6 | include(xcode_sign_adhoc.cmake) |
| 7 | |
| 8 | add_executable(test_list_extra_args test_list_extra_args.cpp) |
| 9 | xcode_sign_adhoc(test_list_extra_args) |
| 10 | gtest_discover_tests( |
| 11 | test_list_extra_args |
| 12 | DISCOVERY_EXTRA_ARGS "how now" "" "\"brown\" cow" |
| 13 | ) |
| 14 | set_property(DIRECTORY APPEND PROPERTY TEST_INCLUDE_FILES |
| 15 | ${CMAKE_CURRENT_SOURCE_DIR}/GoogleTest-discovery-check-test-list-extra-args.cmake) |