Skip to content
Switch branches/tags
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


Ginger: A simple library for a more fruitful C

Ginger is a simple library written to make C programmers' lives easier by augmenting the C standard library with useful utilities that are sorely lacking.

Build Status (Travis CI) Build Status (AppVeyor)


To build ginger, you will need to have CMake. For most you can use your package manager, e.g. apt-get, pacman or yum on Linux or homebrew, macports or fink on OS X.

Linux, OS X, and Windows (Bash, MinGW and Cygwin)

Once CMake is installed, building, testing and installing the library is a snap

λ make all tests
λ sudo make install

Windows with MSVC

Building with MSVC is a bit more involved. Open the Visual C++ MSBuild command prompt (should be in your start menu). You can then run cmake build and test from the prompt:

λ cmake -DCMAKE_BUILD_TYPE=Release -G"Visual Studio 14 2015" -DEXAMPLES=Yes
λ msbuild /p:Configuration=Release ALL_BUILD.vcxproj
λ test\Release\ginger_unittest.exe

Installation requires the user to manually copy the headers and libraries to wherever the user would like.

Getting Help

Ginger is developed to help you write better C code faster, but I can’t do it without your feedback. I host the project’s source code and issue tracker on GitHub. Please create an issue if you find a bug, an error in this documentation, or have a feature you’d like to request.

Copyright © 2016-2017 Douglas G. Moore. Free use of this software is granted under the terms of the MIT License.

See the LICENSE file for details.