Allow user to choose between static or shared library

This commit is contained in:
David Zemon
2019-05-17 23:09:22 -05:00
parent dbcbeb7a57
commit 8dd85285e7
7 changed files with 27 additions and 28 deletions

View File

@@ -1,8 +1,8 @@
// Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
#ifndef SPDLOG_STATIC_LIB
#error Please define SPDLOG_STATIC_LIB to compile this file.
#ifndef SPDLOG_COMPILED_LIB
#error Please define SPDLOG_COMPILED_LIB to compile this file.
#endif
#include <mutex>
@@ -100,4 +100,4 @@ template FMT_API int internal::char_traits<wchar_t>::format_float(wchar_t *, std
template FMT_API std::wstring internal::vformat<wchar_t>(wstring_view, basic_format_args<wformat_context>);
FMT_END_NAMESPACE
#endif
#endif