mirror of
https://github.com/FairRootGroup/FairLogger.git
synced 2025-12-13 10:50:16 +00:00
7d0411b939ac4e1797372d73534778fdf5ee3dbe
In general angular brackets are used for external headers, while quotes are used for internal ones. Is there any particular reason not to follow the conventions? While this is admittedly left to the compiler implementor by the standard, some implementations, like gcc, do have a peculiar behavior for the two kind of `include` and the current solution might end up including something unwanted, especially given the quite "common" name (Logger) used.
FairLogger
Lightweight and fast C++ Logging Library
| Branch | Build Status |
|---|---|
master |
|
dev |
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=ONdisables coloured console output.-DBUILD_TESTING=OFFdisables building of unit tests.
License
GNU Lesser General Public Licence (LGPL) version 3, see LICENSE.
Copyright (C) 2017-2018 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
Languages
C++
92.1%
CMake
7.6%
Shell
0.3%
