You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
spdlog/example/mylibrary.h

20 lines
379 B
C++

//
// Copyright(c) 2021
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
#ifdef _WIN32
#define LIB_EXPORT __declspec(dllexport)
#else // !defined(_WIN32)
#define LIB_EXPORT
#endif
#include <memory>
#include <spdlog/logger.h>
namespace lib
{
LIB_EXPORT void set_logger(const std::shared_ptr<spdlog::logger>& logger);
LIB_EXPORT void test();
}