开源项目社区 | 当前位置 : |
|
www.trustie.net/open_source_projects | 主页 > 开源项目社区 > cgener |
cgener
|
0 | 1 | 15 |
贡献者 | 讨论 | 代码提交 |
Introductionnewcapp and cgener are a couple of perl scripts that generate the boilerplate stuff necessary to write a new command-line application in C. It decouples all of the generated code from the hand-hacked part.
InstallingAfter unpacking the distribution archive, just copy the files cgener and newcapp to whatever bin directory you want them to live in.
UsingSee the GettingStartedTutorial for usage details.
CopyingThese scripts are copyrighted under the GPL, but that only applies to the scripts themselves - not the code they generate, which I guess belongs to whomever wrote the argument descriptions. Which leads to the point of the default options in the args.tab file generated by newcapp - the generated args.tab can be considered public domain and without restriction. You don't need to modify the default argument descriptions just to call the entire thing your own property.
Aside from that caveat, see COPYING for the copyright information for these scripts.