瀏覽代碼

Add -std:c++17 flag on test windows build

André Sousa 4 年之前
父節點
當前提交
5f24388b04
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      test/SConstruct

+ 1 - 0
test/SConstruct

@@ -104,6 +104,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'])