compile.h 559 B

1234567891011121314151617181920212223
  1. //
  2. // Copyright(c) 2016 Gabi Melman.
  3. // Distributed under the MIT License (http://opensource.org/licenses/MIT)
  4. //
  5. #pragma once
  6. //
  7. // include bundled or external copy of fmtlib's compile-time support
  8. //
  9. #include <spdlog/tweakme.h>
  10. #if !defined(SPDLOG_USE_STD_FORMAT)
  11. #if !defined(SPDLOG_FMT_EXTERNAL)
  12. #ifdef SPDLOG_HEADER_ONLY
  13. #ifndef FMT_HEADER_ONLY
  14. #define FMT_HEADER_ONLY
  15. #endif
  16. #endif
  17. #include <spdlog/fmt/bundled/compile.h>
  18. #else
  19. #include <fmt/compile.h>
  20. #endif
  21. #endif