- if system is ubuntu, you can see this page
.
- if system is Mac, the difference is doxygen.
Now introduce how to set up doxygen on mac.
step1: Install doxygen on Mac os
- Download doxygen from the URL:http://ftp.stack.nl/pub/users/dimitri/doxygen-1.8.2.src.tar.gz
- run the command on console:
- ok , doxygen have installed on mac. you can try on the console.
setp2: set the hudson
Add add execute shell, the command:
The first command will generate a config file,the file is Doxyfile.you have set some tag's value:
- INPUT = src ; (the project directory)
- FILE_PATTERNS = *.cpp *.h ; (filter out the source-files in the directory)
- EXTRACT_ALL = YES ; (extract your class /file/namespace)
- EXTRACT_PRIVATE = YES ;(extract members private)
Other tags you can see in the URL: http://www.stack.nl/~dimitri/doxygen/manual/config.html#cfg_output_directory
setp3: Post-build Actions seletct Publish Doxygen
Now bulid your hudson project, you can see your doxygen document. congratulations!