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

Generate Preprocessed File in Xcode

开发者 https://www.devze.com 2023-01-07 06:27 出处:网络
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 X

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

精彩评论

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