INSTALL 638 B

123456789101112131415161718192021222324
  1. Header only version:
  2. ==================================================================
  3. Just copy the files to your build tree and use a C++11 compiler.
  4. Or use CMake:
  5. add_executable(example_header_only example.cpp)
  6. target_link_libraries(example_header_only spdlog::spdlog_header_only)
  7. Compiled library version:
  8. ==================================================================
  9. CMake:
  10. add_executable(example example.cpp)
  11. target_link_libraries(example spdlog::spdlog)
  12. Or copy files src/*.cpp to your build tree and pass the -DSPDLOG_COMPILED_LIB to the compiler.
  13. Tested on:
  14. gcc 4.8.1 and above
  15. clang 3.5
  16. Visual Studio 2013