Skip to content

Latest commit

 

History

History
59 lines (34 loc) · 1.32 KB

File metadata and controls

59 lines (34 loc) · 1.32 KB

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.