如果我使用旧的 gtest_add_tests 如下所示,而不是 gtest_discover_tests , 有用: gtest_add_tests( TARGET ${test_exe} SOURCES ${test_src} WORKING_DIRECTORY ...
確定! 回上一頁