Skip to content
Generators for C++ projects.
Ruby JavaScript C++
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app_generators/cplusplus
bin Initial Commit Aug 27, 2008
config
doc
generators
lib
script
tasks
test
website
.gitignore
History.txt
License.txt
Manifest.txt
PostInstall.txt
README.textile
Rakefile
setup.rb

README.textile

cplusplus

http://github.com/guitsaru/cplusplus

Description

Generators for C++ files.

Features

  • Generates C++ files and class files.
  • Includes tests via cppunit.

Note, the makefile generated is very generic and will more than likely need to be changed to to use with any sufficiently sized project.

Synopsis

cplusplus project_name
script/generate class class_name
script/generate file file_name

Build the project with Rake or generate a makefile with rake makefile.

Requirements

  • Need to have cppunit installed for unit tests

Install

  • sudo gem install cplusplus

License

(The MIT License)

Copyright © 2008 Matt Pruitt

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
‘Software’), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Something went wrong with that request. Please try again.