Precompile Prefix file (. pch files)

Source: Internet
Author: User
Reference: http://blog.csdn.net/lwjok2007/article/details/46385595http://www.tuicool.com/articles/beURbehttp:// blog.csdn.net/gjt19910817/article/details/7200702 function: Write some common header files and macro definitions inside, just like a global variable, you can access the information inside the precompiled file in the required file. : Precompiled header file greatly increase the time of build, no precompiled header file, it is necessary to manually pour the @import manually into the header file, in the loss of compilation convenience while also reducing the build time, but will precompile Prefix header is yes, Pre-compiled PCH files are cached and can improve compilation speed. To create a step:
  1. Created: PCH file, IOS, other
  2. Configuration: Add "$ (srcroot)/project name/PCH filename" to the path in the precompile header option in building setting, and you can compile it to check if the path you added is correct
  3. Set the Precimpile Prefix header to Yes

Precompile Prefix file (. pch files)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.