CMakeLists: Enable stricter C++ conformance mode in MSVC
This commit is contained in:
parent
38eb7e0314
commit
8f15e3f70c
1 changed files with 3 additions and 0 deletions
|
@ -44,10 +44,13 @@ if (MSVC)
|
|||
/w34459 # Declaration of 'var' hides global definition
|
||||
/w34946 # Reinterpret-cast between related types
|
||||
/wd4592 # Symbol will be dynamically initialized (implementation limitation)
|
||||
/permissive- # Stricter C++ standards conformance
|
||||
/MP
|
||||
/Zi
|
||||
/Zo
|
||||
/EHsc
|
||||
/Zc:throwingNew # Assumes new never returns null
|
||||
/Zc:inline # Omits inline functions from object-file output
|
||||
/DNOMINMAX)
|
||||
|
||||
if (DYNARMIC_WARNINGS_AS_ERRORS)
|
||||
|
|
Loading…
Reference in a new issue