Skip to content

gullradriel/nilorea-library

Repository files navigation

Nilorea C Library

Features

  • various helping macros and typedefs
  • logging system
  • strings
  • hash tables
  • linked lists
  • thread pools
  • network engine (with or without SSL)
  • Kafka consumer / producer wrappers
  • simple 2D/3D physics, particles,
  • generic game/user managing system
  • examples for each modules
  • usable as a monolith library or a collection of files

Dependencies

Most of the core modules can be compiled without additional libraries. That said, you'll need the following dependencies installed if you want all the modules to compile:

Building

Supported platforms

  • Linux
  • Solaris
  • Windows

Prerequisites

  • gcc, make
  • doxygen and graphviz (if you want to regenerate the documentation)

Instructions

  • cd my_prog_dir
  • git clone --recurse-submodule [email protected]:gullradriel/nilorea-library.git
  • cd nilorea-library
  • make ; make examples or make all

Regenerating the documentation

From the root directory:

  • make doc or
  • doxygen Doxyfile

Compiling with extra dependencies

From the root directory:

  • make download-dep => will launch a submodule update, compile latest librdkafka version
  • make clean ; make all => restart a whole fresh compilation (lib + examples)