This commit is contained in:
gabime 2019-12-21 17:49:34 +02:00
parent 773b8c5a54
commit f18e1fccfd
4 changed files with 13 additions and 3 deletions

View File

@ -102,7 +102,8 @@ set(SPDLOG_SRCS
src/stdout_sinks.cpp
src/color_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)

View File

@ -82,7 +82,8 @@ spdlog_srcs = files([
'src/color_sinks.cpp',
'src/file_sinks.cpp',
'src/spdlog.cpp',
'src/stdout_sinks.cpp'
'src/stdout_sinks.cpp',
'src/cfg.cpp'
])
if not get_option('external_fmt')

9
src/cfg.cpp Normal file
View 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"

View File

@ -17,7 +17,6 @@
#include "spdlog/sinks/sink-inl.h"
#include "spdlog/sinks/base_sink-inl.h"
#include "spdlog/details/null_mutex.h"
#include "spdlog/cfg/helpers-inl.h"
#include <mutex>