Browse Source

Win32 NOMINMAX

default_compile_flags
vector-of-bool 4 years ago
parent
commit
007d5dfd43
4 changed files with 5 additions and 0 deletions
  1. +1
    -0
      src/dds/proc.win.cpp
  2. +2
    -0
      src/dds/util/log.cpp
  3. +1
    -0
      src/dds/util/paths.win.cpp
  4. +1
    -0
      tools/msvc.jsonc

+ 1
- 0
src/dds/proc.win.cpp View File

@@ -1,6 +1,7 @@
#ifdef _WIN32
#include "./proc.hpp"

#include <fmt/core.h>
#include <neo/assert.hpp>
#include <wil/resource.h>


+ 2
- 0
src/dds/util/log.cpp View File

@@ -4,6 +4,8 @@

#include <spdlog/spdlog.h>

#include <ostream>

void dds::log::log_print(dds::log::level l, std::string_view msg) noexcept {
static auto logger = [] {
auto logger = spdlog::default_logger_raw();

+ 1
- 0
src/dds/util/paths.win.cpp View File

@@ -4,6 +4,7 @@

#include <dds/util/log.hpp>

#include <cassert>
#include <cstdlib>

using namespace dds;

+ 1
- 0
tools/msvc.jsonc View File

@@ -4,6 +4,7 @@
"flags": [
"/Zc:preprocessor",
"/std:c++latest",
"/DNOMINMAX",
],
"link_flags": [
"rpcrt4.lib",

Loading…
Cancel
Save