C ++ header file, CPP file, makefile, unit test Automatic Generator

Source: Internet
Author: User
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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.