C/C++->preprocessor). In X" />
开发者

Generate Preprocessed File in Xcode

Is there any possibility to see preprocessed files before they are compiled in Xcode? In Visual Studio has开发者_运维百科 the option "Generate Preprocessed File" (options->C/C++->preprocessor).


In Xcode 5:

  1. Select an implementation file.
  2. From the menu: Product | Perform Action | Preprocess "YourClassName.m"


Right click on a file and choose "Preprocess"...


In Xcode 4:

  1. Select an implementation file
  2. From the menu: Product | Generate Output | Generate Preprocessed File

Hope this helps.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜