Skip to content

Commit

Permalink
clarify c++ version support (#502)
Browse files Browse the repository at this point in the history
  • Loading branch information
KjellKod authored Nov 12, 2023
1 parent b24d4a4 commit 63f3272
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Build.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ IF(APPLE)
SET_TARGET_PROPERTIES(${G3LOG_LIBRARY} PROPERTIES MACOSX_RPATH TRUE)
ENDIF()

# require here some proxy for c++14 standard to avoid problems TARGET_PROPERTY CXX_STANDARD
# require here some proxy for c++14/c++17? standard to avoid problems TARGET_PROPERTY CXX_STANDARD
TARGET_COMPILE_FEATURES(${G3LOG_LIBRARY} PUBLIC cxx_variable_templates)

TARGET_INCLUDE_DIRECTORIES(${G3LOG_LIBRARY}
Expand Down
2 changes: 1 addition & 1 deletion docs/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ cd build
```

## <a name="prerequisites">Prerequisites</a>
Assume you have got your shiny C++14 compiler installed, you also need these tools to build g3log from source:
You also need these tools to build g3log from source:
- CMake (*Required*)

g3log uses CMake as a one-stop solution for configuring, building, installing, packaging and testing on Windows, Linux and OSX.
Expand Down
6 changes: 5 additions & 1 deletion docs/g3log.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,11 @@ The logger will catch certain fatal events *(Linux/OSX: signals, Windows: fatal

8. The code is given for free as public domain. This gives the option to change, use, and do whatever with it, no strings attached.

9. *[g3log](https://github.com/KjellKod/g3log)* : is made to facilitate easy adding of custom log receivers. Its tested on at least the following platforms with **Linux**(Clang/gcc), **Windows** (mingw, visual studio) and **OSX**. My recommendation is to go with g3log if you have full C++14 support (C++11 support up to version: https://github.com/KjellKod/g3log/releases/tag/1.3.1).
9. *[g3log](https://github.com/KjellKod/g3log)* : is made to facilitate easy adding of custom log receivers. Its tested on at least the following platforms with **Linux**(Clang/gcc), **Windows** (mingw, visual studio) and **OSX**. My recommendation is to go with g3log if you have full C++17 support

C++11 support up to version: https://github.com/KjellKod/g3log/releases/tag/1.3.1).

C++14 support up to version: https://github.com/KjellKod/g3log/releases/tag/1.3.4


## <a name="g3log-with-sinks">G3log with sinks</a>
Expand Down

0 comments on commit 63f3272

Please sign in to comment.