mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 08:25:43 +08:00
Update INSTALL
This commit is contained in:
parent
fcd48d9b2d
commit
abc0359522
13
INSTALL
13
INSTALL
@ -1,20 +1,19 @@
|
|||||||
# 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
|
or
|
||||||
"
|
"
|
||||||
add_executable(example_header_only example.cpp)
|
add_executable(example_header_only example.cpp)
|
||||||
target_link_libraries(example_header_only spdlog::spdlog_header_only)
|
target_link_libraries(example_header_only spdlog::spdlog_header_only)
|
||||||
"
|
"
|
||||||
|
|
||||||
# Compiled library version:
|
Compiled library version:
|
||||||
|
==================================================================
|
||||||
"
|
"
|
||||||
add_executable(example example.cpp)
|
add_executable(example example.cpp)
|
||||||
target_link_libraries(example spdlog::spdlog)
|
target_link_libraries(example spdlog::spdlog)
|
||||||
"
|
"
|
||||||
|
or copy src/spdlog.cpp to your build tree and pass the -DSPDLOG_COMPILED_LIB to the compiler.
|
||||||
or copy src/spdlog.cpp to your build tree and pass the -DSPDLOG_COMPILED_LIB to the compiler
|
|
||||||
|
|
||||||
Tested on:
|
Tested on:
|
||||||
gcc 4.8.1 and above
|
gcc 4.8.1 and above
|
||||||
|
Loading…
Reference in New Issue
Block a user