spdlog/INSTALL

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
1010 B
Plaintext
Raw Permalink Normal View History

Header Only Version
2019-06-03 17:49:35 +08:00
==================================================================
Just copy the files to your build tree and use a C++11 compiler.
2019-06-03 17:50:27 +08:00
Or use CMake:
```
2019-06-03 17:50:52 +08:00
add_executable(example_header_only example.cpp)
target_link_libraries(example_header_only spdlog::spdlog_header_only)
```
2019-06-03 17:51:20 +08:00
Compiled Library Version
2019-06-03 17:49:35 +08:00
==================================================================
2019-06-03 17:50:27 +08:00
CMake:
```
2019-06-03 17:50:52 +08:00
add_executable(example example.cpp)
target_link_libraries(example spdlog::spdlog)
```
2019-06-03 17:51:20 +08:00
2023-06-27 23:19:22 +08:00
Or copy files src/*.cpp to your build tree and pass the -DSPDLOG_COMPILED_LIB to the compiler.
2016-07-08 22:50:13 +08:00
Important Information for Compilation:
==================================================================
* If you encounter compilation errors with gcc 4.8.x, please note that gcc 4.8.x does not fully support C++11. In such cases, consider upgrading your compiler or using a different version that fully supports C++11 standards
Tested on:
2016-07-08 22:50:13 +08:00
gcc 4.8.1 and above
clang 3.5
Visual Studio 2013