xcode / iphone - 仅从命令行调用预处理器?

发布于 2024-12-28 05:43:54 字数 65 浏览 3 评论 0原文

这可能吗?基本上,我想像构建项目一样调用预处理器 - 但随后只需将预处理后的文件保存在某处,而不是继续构建整个项目。

Is this possible? Basically, I want to invoke the preprocessor as if I were building my project -- but then just save the preprocessed files somewhere instead of continuing to build the whole thing.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

执手闯天涯 2025-01-04 05:43:54

这是你的旗帜:

-E 预处理阶段后停止;不要正确运行编译器。
    输出是预处理后的源代码的形式,即
    发送到标准输出。

    不需要预处理的输入文件将被忽略。

Here' your flag:

-E  Stop after the preprocessing stage; do not run the compiler proper.
    The output is in the form of preprocessed source code, which is
    sent to the standard output.

    Input files which don't require preprocessing are ignored.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文