mirror of
https://github.com/gabime/spdlog.git
synced 2026-04-10 11:34:29 +08:00
Relative include paths in headers
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <cctype>
|
||||
#include <spdlog/common.h>
|
||||
#include "../common.h"
|
||||
|
||||
#if defined(__has_include)
|
||||
#if __has_include(<version>)
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
#if !defined(SPDLOG_USE_STD_FORMAT)
|
||||
#if !defined(SPDLOG_FMT_EXTERNAL)
|
||||
#include <spdlog/fmt/bundled/chrono.h>
|
||||
#include "../fmt/bundled/chrono.h"
|
||||
#else
|
||||
#include <fmt/chrono.h>
|
||||
#endif
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
#if !defined(SPDLOG_USE_STD_FORMAT)
|
||||
#if !defined(SPDLOG_FMT_EXTERNAL)
|
||||
#include <spdlog/fmt/bundled/compile.h>
|
||||
#include "../fmt/bundled/compile.h"
|
||||
#else
|
||||
#include <fmt/compile.h>
|
||||
#endif
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
#if defined(SPDLOG_USE_STD_FORMAT) // SPDLOG_USE_STD_FORMAT is defined - use std::format
|
||||
#include <format>
|
||||
#elif !defined(SPDLOG_FMT_EXTERNAL)
|
||||
#include <spdlog/fmt/bundled/core.h>
|
||||
#include <spdlog/fmt/bundled/format.h>
|
||||
#include "bundled/core.h"
|
||||
#include "bundled/format.h"
|
||||
#else // SPDLOG_FMT_EXTERNAL is defined - use external fmtlib
|
||||
#include <fmt/core.h>
|
||||
#include <fmt/format.h>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
#if !defined(SPDLOG_USE_STD_FORMAT)
|
||||
#if !defined(SPDLOG_FMT_EXTERNAL)
|
||||
#include <spdlog/fmt/bundled/ostream.h>
|
||||
#include "../fmt/bundled/ostream.h"
|
||||
#else
|
||||
#include <fmt/ostream.h>
|
||||
#endif
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
#if !defined(SPDLOG_USE_STD_FORMAT)
|
||||
#if !defined(SPDLOG_FMT_EXTERNAL)
|
||||
#include <spdlog/fmt/bundled/ranges.h>
|
||||
#include "../fmt/bundled/ranges.h"
|
||||
#else
|
||||
#include <fmt/ranges.h>
|
||||
#endif
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
#if !defined(SPDLOG_USE_STD_FORMAT)
|
||||
#if !defined(SPDLOG_FMT_EXTERNAL)
|
||||
#include <spdlog/fmt/bundled/std.h>
|
||||
#include "../fmt/bundled/std.h"
|
||||
#else
|
||||
#include <fmt/std.h>
|
||||
#endif
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
#if !defined(SPDLOG_USE_STD_FORMAT)
|
||||
#if !defined(SPDLOG_FMT_EXTERNAL)
|
||||
#include <spdlog/fmt/bundled/xchar.h>
|
||||
#include "../fmt/bundled/xchar.h"
|
||||
#else
|
||||
#include <fmt/xchar.h>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user