gho  0.0.0
Generic Header-Only C Library
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
gho: Generic Header-Only C Library

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

Introduction

Generic Header-Only C Library

License: Apache License, Version 2.0

System Requirement

Required:

  • C99 compiler

Optional:

  • CMake build system

Installation

With CMake:

  • mkdir build
    cd build
    cmake .. # -DCMAKE_INSTALL_PREFIX=/path/to/install # -DDEBUG=TRUE
    make
    # make doc
    # make test
    make install # su -c "make install" # sudo make install

Without CMake:

  • 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.)

Utilization

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