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.
Once CMake is installed, building, testing and installing the library is a snap
λ cmake . -DCMAKE_BUILD_TYPE=Release -DEXAMPLES=Yes
λ make all tests
λ sudo make install
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.
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.
- Ginger Source Repository
- Issue tracker
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.