Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ctest如果测试失败,有没有办法可以设置 CMakeLists.txt 打印消息?例如:
ctest
cmake .. make ctest // fails message output: Please contact xyz@mail.com to resolve testing problems.
您可以使用message,它可以帮助您将信息输出到配置日志进程。