Add missing C++17 flag for Windows build in GDNative SConstruct (#4709)

This matches macOS and Linux.
This commit is contained in:
Hugo Locurcio
2021-03-03 15:15:03 +01:00
parent b872229427
commit 7321b5b914

View File

@@ -76,6 +76,7 @@ elif env['platform'] == "windows":
env.Append(CPPDEFINES=['WIN32', '_WIN32', '_WINDOWS', '_CRT_SECURE_NO_WARNINGS'])
env.Append(CCFLAGS=['-W3', '-GR'])
env.Append(CXXFLAGS='/std:c++17')
if env['target'] in ('debug', 'd'):
env.Append(CPPDEFINES=['_DEBUG'])
env.Append(CCFLAGS=['-EHsc', '-MDd', '-ZI'])