spdlog/INSTALL

27 lines
515 B
Plaintext
Raw Normal View History

2019-06-03 17:48:43 +08:00
# Header only version:
2016-07-08 22:50:13 +08:00
Just copy the files to your build tree and use a C++11 compiler
2019-06-03 17:48:43 +08:00
or
"
add_executable(example_header_only example.cpp)
target_link_libraries(example_header_only spdlog::spdlog_header_only)
"
# Compiled library version:
"
add_executable(example example.cpp)
target_link_libraries(example spdlog::spdlog)
"
or copy src/spdlog.cpp to your build tree and pass the -DSPDLOG_COMPILED_LIB to the compiler
2016-07-08 22:50:13 +08:00
Tested on:
gcc 4.8.1 and above
clang 3.5
Visual Studio 2013
2019-06-03 17:48:43 +08:00