mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-26 10:31:34 +08:00
cfg.cpp
This commit is contained in:
parent
773b8c5a54
commit
f18e1fccfd
@ -102,7 +102,8 @@ set(SPDLOG_SRCS
|
|||||||
src/stdout_sinks.cpp
|
src/stdout_sinks.cpp
|
||||||
src/color_sinks.cpp
|
src/color_sinks.cpp
|
||||||
src/file_sinks.cpp
|
src/file_sinks.cpp
|
||||||
src/async.cpp)
|
src/async.cpp
|
||||||
|
src/cfg.cpp)
|
||||||
|
|
||||||
|
|
||||||
if(NOT SPDLOG_FMT_EXTERNAL AND NOT SPDLOG_FMT_EXTERNAL_HO)
|
if(NOT SPDLOG_FMT_EXTERNAL AND NOT SPDLOG_FMT_EXTERNAL_HO)
|
||||||
|
@ -82,7 +82,8 @@ spdlog_srcs = files([
|
|||||||
'src/color_sinks.cpp',
|
'src/color_sinks.cpp',
|
||||||
'src/file_sinks.cpp',
|
'src/file_sinks.cpp',
|
||||||
'src/spdlog.cpp',
|
'src/spdlog.cpp',
|
||||||
'src/stdout_sinks.cpp'
|
'src/stdout_sinks.cpp',
|
||||||
|
'src/cfg.cpp'
|
||||||
])
|
])
|
||||||
|
|
||||||
if not get_option('external_fmt')
|
if not get_option('external_fmt')
|
||||||
|
9
src/cfg.cpp
Normal file
9
src/cfg.cpp
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
// Copyright(c) 2015-present, Gabi Melman & spdlog contributors.
|
||||||
|
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
|
||||||
|
|
||||||
|
#ifndef SPDLOG_COMPILED_LIB
|
||||||
|
#error Please define SPDLOG_COMPILED_LIB to compile this file.
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "spdlog/cfg/helpers-inl.h"
|
||||||
|
|
@ -17,7 +17,6 @@
|
|||||||
#include "spdlog/sinks/sink-inl.h"
|
#include "spdlog/sinks/sink-inl.h"
|
||||||
#include "spdlog/sinks/base_sink-inl.h"
|
#include "spdlog/sinks/base_sink-inl.h"
|
||||||
#include "spdlog/details/null_mutex.h"
|
#include "spdlog/details/null_mutex.h"
|
||||||
#include "spdlog/cfg/helpers-inl.h"
|
|
||||||
|
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user