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.
我正在使用 waf 构建一个 C 程序。我想在配置阶段检查是否存在特定的头文件。有没有办法做到这一点?
啊,有点谷歌搜索找到了我的问题的答案:您可以check在配置对象上使用该方法,如下所示:
check
def configure(conf): conf.check(header_name="stdbool.h")