summaryrefslogtreecommitdiffstats
path: root/SConstruct
diff options
context:
space:
mode:
authorBastiaan Olij <mux213@gmail.com>2021-08-21 21:50:22 +1000
committerBastiaan Olij <mux213@gmail.com>2021-09-27 23:08:09 +1000
commitdf9164b9bd7b4505a9918212e39451b75a38a7d7 (patch)
treea8c37eec9d9f8efdfb90ed5799950939e6b4310c /SConstruct
parentf3dea4b752b4f6349f4ae7aedc9fc010354729f4 (diff)
downloadredot-cpp-df9164b9bd7b4505a9918212e39451b75a38a7d7.tar.gz
Added TYPED_METHOD_BIND and c++17 flags to windows build and moved test project files
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct1
1 files changed, 1 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 7049baf..7481772 100644
--- a/SConstruct
+++ b/SConstruct
@@ -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"])