You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
661 B

3 years ago
  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 src/spdlog.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