Skip to content

Commit c9ce17a

Browse files
authoredMar 23, 2024
INSTALL.md has been updated to provide current status information. (gabime#3052)
1 parent 6725584 commit c9ce17a

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed
 

‎INSTALL

+13-10
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,27 @@
1-
Header only version:
1+
Header Only Version
22
==================================================================
3-
Just copy the files to your build tree and use a C++11 compiler.
3+
Just copy the files to your build tree and use a C++11 compiler.
44
Or use CMake:
5+
```
56
add_executable(example_header_only example.cpp)
67
target_link_libraries(example_header_only spdlog::spdlog_header_only)
8+
```
79

8-
9-
Compiled library version:
10+
Compiled Library Version
1011
==================================================================
1112
CMake:
13+
```
1214
add_executable(example example.cpp)
1315
target_link_libraries(example spdlog::spdlog)
16+
```
1417

1518
Or copy files src/*.cpp to your build tree and pass the -DSPDLOG_COMPILED_LIB to the compiler.
1619

17-
Tested on:
20+
Important Information for Compilation:
21+
==================================================================
22+
* 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
23+
24+
Tested on:
1825
gcc 4.8.1 and above
1926
clang 3.5
20-
Visual Studio 2013
21-
22-
23-
24-
27+
Visual Studio 2013

0 commit comments

Comments
 (0)
Please sign in to comment.