Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/linkdd/ooduck
- Owner: linkdd
- License: mit
- Created: 2015-09-07T02:24:54.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-14T00:21:04.000Z (almost 9 years ago)
- Last Synced: 2023-03-10T21:02:51.747Z (almost 2 years ago)
- Topics: duck-typing, ooc
- Language: C
- Homepage: https://linkdd.github.com/ooduck/
- Size: 654 KB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 ..
$ makeWith multi-threading support:
$ mkdir __build__ && cd __build__
$ cmake .. -DWITH_PTHREAD=1
$ makeOr 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
$ makeThen, 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.