Merge pull request #513 from beroso/fix/windows_cpp_17

pull/619/head
Rémi Verschelde 2021-09-27 11:50:12 +02:00 committed by GitHub
commit 407710b622
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

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