#ifdef _WIN32 | #ifdef _WIN32 | ||||
#include "./proc.hpp" | #include "./proc.hpp" | ||||
#include <fmt/core.h> | |||||
#include <neo/assert.hpp> | #include <neo/assert.hpp> | ||||
#include <wil/resource.h> | #include <wil/resource.h> | ||||
#include <spdlog/spdlog.h> | #include <spdlog/spdlog.h> | ||||
#include <ostream> | |||||
void dds::log::log_print(dds::log::level l, std::string_view msg) noexcept { | void dds::log::log_print(dds::log::level l, std::string_view msg) noexcept { | ||||
static auto logger = [] { | static auto logger = [] { | ||||
auto logger = spdlog::default_logger_raw(); | auto logger = spdlog::default_logger_raw(); |
#include <dds/util/log.hpp> | #include <dds/util/log.hpp> | ||||
#include <cassert> | |||||
#include <cstdlib> | #include <cstdlib> | ||||
using namespace dds; | using namespace dds; |
"flags": [ | "flags": [ | ||||
"/Zc:preprocessor", | "/Zc:preprocessor", | ||||
"/std:c++latest", | "/std:c++latest", | ||||
"/DNOMINMAX", | |||||
], | ], | ||||
"link_flags": [ | "link_flags": [ | ||||
"rpcrt4.lib", | "rpcrt4.lib", |