This is a small tool that I usually use to develop C ++ on Unix/Linux. The wrapper, author, and date of the header file can be automatically generated. The CPP file framework can be automatically generated based on the header file. You can automatically generate makefile and unit test.
The dependent software package is:
- Python 2.5. Download The http://www.python.org from here
- Cppunit. The http://cppunit.sf.net can be downloaded from here
Report to me if you have any questions <wanjunfeng@gmail.com>.
To install:
Python setup. py
Usage: fgen [Options] arguments
Options:
-C, -- CPP
Generate CPP File
-M, -- makefile
Specify filename to generate makefile, default to makefile
-U, -- unittest
Generate unit test class for the specified class. If unit test makefile and Main. CC don't exist, will generate them
-D, -- Doc
Generate the doxygen document for the header file
-H header, -- header = Header
Specify header file to generate or to generate CPP file base on this header file
Please report bugs to <wanjunfeng@gmail.com>, thanks!
Download from here!
If python is not installed, try it! (This Is My compiled EXE package.) decompress the package and copy the. fgen directory to the home directory to use the fgen EXE file.
If you have any suggestions, comments or comments, please leave a message. Thank you! :)
Here is example!
Please download the latest version from http://fgen.sourceforge.net!