mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-21 10:49:23 +00:00
CMakeLists: Enforce standard compliance on MSVC
Adds a few compiler options that force the compiler to be standards compliant.
This commit is contained in:
@@ -32,6 +32,15 @@ if(MSVC)
|
|||||||
/wd4100 # 'identifier' : unreferenced formal parameter
|
/wd4100 # 'identifier' : unreferenced formal parameter
|
||||||
/wd4101 # 'identifier': unreferenced local variable
|
/wd4101 # 'identifier': unreferenced local variable
|
||||||
/wd4189 # 'identifier' : local variable is initialized but not referenced
|
/wd4189 # 'identifier' : local variable is initialized but not referenced
|
||||||
|
|
||||||
|
# Compiler conformance settings
|
||||||
|
/permissive-
|
||||||
|
/volatile:iso
|
||||||
|
/Zc:enumTypes
|
||||||
|
/Zc:inline
|
||||||
|
/Zc:preprocessor
|
||||||
|
/Zc:templateScope
|
||||||
|
/Zc:throwingNew
|
||||||
)
|
)
|
||||||
|
|
||||||
# TODO: EXT Deprecation warnings can be removed when nod gets updated.
|
# TODO: EXT Deprecation warnings can be removed when nod gets updated.
|
||||||
|
|||||||
Reference in New Issue
Block a user