Cocos2D-1.0.0 documentation integration in XCode4

Source: Internet
Author: User

Detailed description onXCode4MediumCocos2D-1.0.0Document IntegrationIs the content to be introduced in this article. It mainly introducesXcodeLiCocos2DDocument integration. First, let's look at the details. TryXCode4MediumCocos2D-1.0.0Document IntegrationThe previous methods failed. After N failures, the key cause is finally found.

1 install doxygen

Download http://www.stack.nl from here /~ Dimitri/doxygen/download.html # latestsrc DMG installation package.

Double-click Doxygen. dmg and a window appears. Drag the Doxygen icon to the/Applications directory of the Mac system );

2 install Graphviz

Download http://www.ryandesign.com/graphviz/ here

Click Install. The Installation File is installed in the/usr/local/graphviz-x.y/bin directory.

Note: Here, x. y is the version number, such as the current version 2.14;

3. Set doxygen

Go to the cocos2d-iphone-1.0.0 directory, modify the doxygen. config file under that directory, set HAVE_DOT to YES, and set DOT_PATH to/usr/local/graphviz-x.y/bin

If the current version should be set to:/usr/local/graphviz-2.14/bin;

4 compile cocos2d-documentation Projects

Open the cocos2d-iphone-1.0.0 project for the cocos2d-ios, select the cocos2d-documentation target, and then compile it just like other projects.

Finally, open Documentation and API Reference under the Help menu of XCode, and you will be able to see an additional Cocos2D document.

Summary:XCode4MediumCocos2D-1.0.0Document IntegrationI hope this article will help you!

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.