Celma

Celma

C++ Extension Library Modules for Application

Version: 1.47.0

Quality Gate Status

This library offers a collection of modules that are often needed in developping applications on UNIX. The main modules are:

  • Argument Handler

    Command line argument parsing, store the values directly in the destination variables.

  • Logging

    Easy to use logging library.

  • Type name

    Gives the type name as string.

  • Indirect access

    Create a data structure and an object that allows to access members of the structure by name or id.

  • Formatting

    Various functions and modules for formatting purposes, e.g. text-block formatting, fast integer to string conversion etc.

Requirements:

  • Boost library
  • C++ 17 compliant compiler

Building

Requirements

To build the software, the following components are required:

  • Boost Development: Libraries and headerfiles.
  • CMake
  • g++ compiler

To build the documentation, doxygen is required.
To run the coverage analysis, lcov is needed additionally.

Compile

There is a makefile in the top-level directory that supports all build targets:

  • make debug
    Builds the debug version with the lowest C++ version that is currently supported, e.g. C++ 17.
  • make release
    Builds the release version (optimised) with the lowest C++ version that is currently supported, e.g. C++ 17.
  • make debug-<C++ version>/make release-<C++ version>
    Builds the debug or release version with the specified C++ version.
  • make doxgen
    Creates the HTML documentation from the source code using doxygen.

The steps for building are:

  • Check if the build/ directory exists.
  • If not:
  • Create the directory.
Visit original content creator repository https://github.com/Gemini67/Celma

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *