当您在CMake中 include(CTest) ,它包含以下行: option(BUILD_TESTING "Build the testing tree." ON). 我希望测试不是默认构建的(但在命令行上可以覆盖)。
確定! 回上一頁