Relative include paths in headers

This commit is contained in:
gabime
2023-09-28 23:45:45 +03:00
parent c1ffe29b7e
commit a3934472c9
20 changed files with 41 additions and 41 deletions

View File

@@ -6,7 +6,7 @@
#pragma once
#include <cctype>
#include <spdlog/common.h>
#include "../common.h"
#if defined(__has_include)
#if __has_include(<version>)

View File

@@ -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

View File

@@ -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

View File

@@ -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>

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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