Copyright © 2015 Lénaïc Bagnères, [email protected]
https://github.com/Lnc/gho/tree/master
http://hnc.toile-libre.org/index.php?section=dev&page=gho
https://www.lri.fr/~bagneres/index.php?section=dev&page=gho
Generic Header-Only C Library
Apache License, Version 2.0
Required:
- C99 compiler
Optional:
- CMake build system
mkdir build
cd build
cmake .. # -DCMAKE_INSTALL_PREFIX=/path/to/install # -DDEBUG=TRUE
make
# make doxygen
# make test
make install # su -c "make install" # sudo make install
This project is a header-only library, you can copy the include directory in /usr/local (for example) or in your project. (But you have to define some macros to enable optional parts.)
If you use CMake, add these lines in your CMakeLists.txt:
# gho
message(STATUS "---")
find_package(gho REQUIRED)
# See /installation/path/lib/gho/gho-config.cmake for CMake variables