c++標頭檔,cpp檔案,makefile,unit test自動產生器

來源:互聯網
上載者:User
這是我平時用來在unix/linux上開發c++的一個小工具。可以自動產生標頭檔的wrapper,author,date,可以根據標頭檔自動產生cpp檔案的架構。可以自動產生makefile,自動產生unit test。

依賴的軟體包是:

  • Python 2.5. 可以從這裡下載 http://www.python.org
  • cppunit. 可以從這裡下載 http://cppunit.sf.net

有任何問題可以report給我<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!

從這裡下載!

如果沒裝python的,可以試試這個!(是我編譯後的exe包),解壓後直接把.fgen目錄拷貝到HOME下就可以使用fgen這個exe檔案了。

有什麼建議,批評或表揚請留言,謝謝!:)

這裡是example!

最新的版本請從http://fgen.sourceforge.net下載!

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.