Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/linkdd/ooduck

Duck-Typing C library based on ooc.pdf
https://github.com/linkdd/ooduck

duck-typing ooc

Last synced: about 2 months ago
JSON representation

Duck-Typing C library based on ooc.pdf

Awesome Lists containing this project

README

        

# OODuck

![ ](doc/static/logo.png)

[![Travis-CI build](https://travis-ci.org/linkdd/ooduck.svg)](https://travis-ci.org/linkdd/ooduck)

OODuck is an **O**bject **O**riented framework in C with **D**uck typing support.

It is inspired of the famous [ooc.pdf](http://www.cs.rit.edu/~ats/books/ooc.pdf)
and is using [exceptions4c](https://github.com/guillermocalvo/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](https://linkdd.github.io/ooduck/)

## License

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