mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Add missing C++17 flag for Windows build in GDNative SConstruct (#4709)
This matches macOS and Linux.
This commit is contained in:
@@ -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'])
|
||||
|
||||
Reference in New Issue
Block a user