mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 18:11:33 +08:00
Warn if compiling spdlog.cpp under header only configuration
This commit is contained in:
parent
1752086cfd
commit
ca9c8ae5fb
@ -1,10 +1,14 @@
|
|||||||
// Copyright(c) 2015-present Gabi Melman & spdlog contributors.
|
// Copyright(c) 2015-present Gabi Melman & spdlog contributors.
|
||||||
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
|
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
|
||||||
|
#ifndef SPDLOG_STATIC_LIB
|
||||||
|
#warning spdlog is in header only configuration. please define SPDLOG_STATIC_LIB
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
|
|
||||||
#include "spdlog/common.h"
|
#include "spdlog/common.h"
|
||||||
|
|
||||||
#include "spdlog/common-inl.h"
|
#include "spdlog/common-inl.h"
|
||||||
|
|
||||||
#include "spdlog/details/null_mutex.h"
|
#include "spdlog/details/null_mutex.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user