Added TYPED_METHOD_BIND and c++17 flags to windows build and moved test project files

This commit is contained in:
Bastiaan Olij
2021-08-21 21:50:22 +10:00
parent f3dea4b752
commit df9164b9bd
10 changed files with 9 additions and 4 deletions

View File

@@ -256,6 +256,7 @@ elif env["platform"] == "ios":
elif env["platform"] == "windows":
if host_platform == "windows" and not env["use_mingw"]:
# MSVC
env.Append(CPPDEFINES=["TYPED_METHOD_BIND"])
env.Append(LINKFLAGS=["/WX"])
if env["target"] == "debug":
env.Append(CCFLAGS=["/Z7", "/Od", "/EHsc", "/D_DEBUG", "/MDd"])