mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 08:25:43 +08:00
INSTALL.md has been updated to provide current status information. (#3052)
This commit is contained in:
parent
6725584e27
commit
c9ce17abca
23
INSTALL
23
INSTALL
@ -1,24 +1,27 @@
|
||||
Header only version:
|
||||
Header Only Version
|
||||
==================================================================
|
||||
Just copy the files to your build tree and use a C++11 compiler.
|
||||
Just copy the files to your build tree and use a C++11 compiler.
|
||||
Or use CMake:
|
||||
```
|
||||
add_executable(example_header_only example.cpp)
|
||||
target_link_libraries(example_header_only spdlog::spdlog_header_only)
|
||||
```
|
||||
|
||||
|
||||
Compiled library version:
|
||||
Compiled Library Version
|
||||
==================================================================
|
||||
CMake:
|
||||
```
|
||||
add_executable(example example.cpp)
|
||||
target_link_libraries(example spdlog::spdlog)
|
||||
```
|
||||
|
||||
Or copy files src/*.cpp to your build tree and pass the -DSPDLOG_COMPILED_LIB to the compiler.
|
||||
|
||||
Tested on:
|
||||
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:
|
||||
gcc 4.8.1 and above
|
||||
clang 3.5
|
||||
Visual Studio 2013
|
||||
|
||||
|
||||
|
||||
|
||||
Visual Studio 2013
|
Loading…
Reference in New Issue
Block a user