Browse Source

Leaf needs some special options for MSVC

default_compile_flags
vector-of-bool 4 years ago
parent
commit
735fff145a
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      tools/msvc.jsonc

+ 4
- 0
tools/msvc.jsonc View File

"compiler_id": "msvc", "compiler_id": "msvc",
"flags": [ "flags": [
"/Zc:preprocessor", "/Zc:preprocessor",
"/Zc:__cplusplus",
"/std:c++latest", "/std:c++latest",
"/DNOMINMAX", "/DNOMINMAX",
// Workaround quirks in LEAF
"/DBOOST_LEAF_CONSTEXPR=",
"/DBOOST_LEAF_STD_UNCAUGHT_EXCEPTIONS=1",
// OpenSSL headers: // OpenSSL headers:
"/Iexternal/OpenSSL/include", "/Iexternal/OpenSSL/include",
], ],

Loading…
Cancel
Save