update and change how we build with spdlog
This commit is contained in:
26
third_party/spdlog/src/spdlog.cpp
vendored
Normal file
26
third_party/spdlog/src/spdlog.cpp
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
// 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/spdlog-inl.h"
|
||||
#include "spdlog/common-inl.h"
|
||||
#include "spdlog/details/backtracer-inl.h"
|
||||
#include "spdlog/details/registry-inl.h"
|
||||
#include "spdlog/details/os-inl.h"
|
||||
#include "spdlog/details/pattern_formatter-inl.h"
|
||||
#include "spdlog/details/log_msg-inl.h"
|
||||
#include "spdlog/details/log_msg_buffer-inl.h"
|
||||
#include "spdlog/logger-inl.h"
|
||||
#include "spdlog/sinks/sink-inl.h"
|
||||
#include "spdlog/sinks/base_sink-inl.h"
|
||||
#include "spdlog/details/null_mutex.h"
|
||||
|
||||
#include <mutex>
|
||||
|
||||
// template instantiate logger constructor with sinks init list
|
||||
template spdlog::logger::logger(std::string name, sinks_init_list::iterator begin, sinks_init_list::iterator end);
|
||||
template class spdlog::sinks::base_sink<std::mutex>;
|
||||
template class spdlog::sinks::base_sink<spdlog::details::null_mutex>;
|
Reference in New Issue
Block a user