Skip to content

linkdd/ooduck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OODuck

Travis-CI build

OODuck is an Object Oriented framework in C with Duck typing support.

It is inspired of the famous ooc.pdf and is using exceptions4c

Build library

Build system is based on CMake:

$ mkdir __build__ && cd __build__
$ cmake ..
$ make

With multi-threading support:

$ mkdir __build__ && cd __build__
$ cmake .. -DWITH_PTHREAD=1
$ make

Or in debug mode:

$ mkdir __build__ && cd __build__
$ cmake .. -DWITH_DEBUG=1
$ make

Installation

Once the project is built, you can install it:

$ make install

To change default installation location, run cmake with the following option:

$ cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr

To install in another directory:

$ make install DESTDIR=/opt/fakeroot

Documentation

To build documentation, you will need doxygen installed:

$ cd doc
$ make

Then, open the file doc/html/index.html in your browser.

Or, take a look at the online documentation

License

OODuck is released under the terms of the MIT license. See the LICENSE file for details.