Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Automatically document code (C++, PHP,...) with Doxygen' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Automatically document code (C++, PHP,...) with Doxygen
Authored by: TomorrowPlusX on Oct 14, '03 12:35:34PM

I don't have a quick howto, but I can tell you how to.

(Note that I've never actually done this, while I use doxygen for everything I do it from command line. However, I have let project builder automatically generate bindings using SWIG, and the process is conceptually similar)

Make a script somewhere in your project folder, for example, ""

The script should contain the commands to make your docs, in my case I always name my doxygen config file the default name: "Doxyfile", so my script is nothing but an invocation of doxygen:


chmod it +x

Then, under your build phases, make a new "Shell script build phase" and have it run that shell script. I'm at work, where I use different tools, so I can't verify this, but my guess is you might have to do something either in your script or in the build-phase setup to make sure your working directory is right.

the whole process shold take you less than 5 minutes to setup and test.

[ Reply to This | # ]
Automatically document code (C++, PHP,...) with Doxygen
Authored by: gdsimms on Oct 15, '03 02:03:37PM

Holy smokes, that's trivial. I'm guessing it should be possible to use a similar method for invoking "moc" on Qt sources as well. Thanks!

[ Reply to This | # ]