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!