 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
| View previous topic :: View next topic |
| Author |
Message |
waterazu
Joined: 22 Feb 2007 Posts: 1
|
Posted: Thu Feb 22, 2007 3:03 am Post subject: HOW TO: Generate PSPSDK documentacion |
|
|
1.- DOWNLOAD DOXYGEN
Do it from http://www.stack.nl/~dimitri/doxygen/download.html#latestsrc
Like author wrote, "It is a GNU documentation generator for C++, C, Java, Objective-C, Python, IDL (Corba and Microsoft flavors) and to some extent PHP, C#, and D"
2.- DOXYGEN INSTALLATION
Basically it consist on decompressing the downloaded file
3.- ENVIROMENT VARIABLE
To use DoxyGen where you like, be sure to include doxygen on the PATH
You can do it temporarily on a Windows cmd session like this:
| Code: | | set PATH=%PATH%;<InstallationDoxygenDir>/doxygen.exe |
4.- PREPARE doxygen.cfg
doxygen.cfg is your doxygen configuration file (obvious waterAZU :)). I recommend use the template from
http://svn.ps2dev.org/filedetails.php?repname=psp&path=%2Ftrunk%2Fpspsdk%2Fdoxygen.cfg&sc=1
(if you can't get the file from the link, try searching on Google this "pspsdk doxygen.cfg" and follow a valid link to get the file, better from a official site like snv.ps2dev.org)
Next, you need to substitute the next values:
| Code: | PROJECT_NAME = $(PROJECT)-$(VERSION)
OUTPUT_DIRECTORY = $(DOCDIR)
INPUT = $(SRCDIR) |
and use appropriate values, for example:
| Code: | PROJECT_NAME = PSPSDK-1.0
OUTPUT_DIRECTORY = c:\pspsdk\doc\
INPUT = c:\pspsdk\src |
You can customize this file more, as you desire.
5.- Open a Windows cmd windows: Start->Execute->cmd and:
5.1.- cd <yourPspSdkDir>/doc
5.2.- doxygen.exe doxygen.cfg
In the OUTPUT_DIRECTORY you will see 2 folders: html and latex. In HTML look for index.hmlt and open it.
ˇˇˇˇYOUR PRETTY PSPSDK DOC IS READY!!!!
Hope it helps |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Thu Feb 22, 2007 4:13 am Post subject: |
|
|
| Thanks waterazu. If anyone is interested, I also have the pspsdk docs available online at http://psp.jim.sh/pspsdk-doc/. They are updated regularly. |
|
| Back to top |
|
 |
Cy-4AH
Joined: 31 Jan 2007 Posts: 44 Location: Belarus
|
Posted: Thu Feb 22, 2007 6:52 pm Post subject: |
|
|
| I'd like to add, that psptoolchain generate pspsdk documentation if you have doxygen. |
|
| Back to top |
|
 |
gbj1
Joined: 08 Feb 2007 Posts: 45
|
Posted: Thu Feb 22, 2007 7:42 pm Post subject: |
|
|
Thanks for the guide,waterazu.
If doxygen is installed, just and you'll get a doc set ready to install. _________________ guo.bojun@gmail.com |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|