... REQUIRED) add_executable(foo test.cpp) target_link_libraries(foo PRIVATE Catch2::Catch2) include(CTest) include(Catch) catch_discover_tests(foo).
確定! 回上一頁