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

时间:2012-01-20 15:22:55

标签: xcode command-line preprocessor xcodebuild

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

1 个答案:

答案 0 :(得分:2)

这是'你的旗帜:

-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.