Lightweight and fast C++ Logging Library
Go to file
Dennis Klein 5a4d3c58c7
Add CI
2018-04-11 02:21:16 +02:00
cmake Add CI 2018-04-11 02:21:16 +02:00
logger Add CMake project and package 2018-04-11 01:42:24 +02:00
test Add CMake project and package 2018-04-11 01:42:24 +02:00
.gitignore Add CI 2018-04-11 02:21:16 +02:00
CMakeLists.txt Add CI 2018-04-11 02:21:16 +02:00
CTestConfig.cmake Add CI 2018-04-11 02:21:16 +02:00
Dart.sh Add CI 2018-04-11 02:21:16 +02:00
Jenkinsfile Add CI 2018-04-11 02:21:16 +02:00
LICENSE Add CMake project and package 2018-04-11 01:42:24 +02:00
README.md Add CMake project and package 2018-04-11 01:42:24 +02:00

FairLogger

Lightweight C++ Logging Library

Installation

git clone https://github.com/FairRootGroup/FairLogger
mkdir FairLogger_build && cd FairLogger_build
cmake -DCMAKE_INSTALL_PREFIX=./FairLogger_install ../FairLogger
cmake --build . --target install

Usage

In your CMakeLists.txt:

find_package(FairLogger)

If FairLogger is not installed in system directories, you can hint the installation location:

set(CMAKE_PREFIX_PATH /path/to/FairLogger/installation ${CMAKE_PREFIX_PATH})
find_package(FairLogger)

find_package(FairLogger) will define an imported target FairLogger::FairLogger.

CMake options

On command line:

  • -DDISABLE_COLOR=ON disables coloured console output.

License

GNU Lesser General Public Licence (LGPL) version 3, see LICENSE.

Copyright (C) 2017-2018 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH