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 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
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
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
OODuck is released under the terms of the MIT license. See the LICENSE file for details.