summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/tools.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/src/tools.lua')
-rw-r--r--scripts/src/tools.lua18
1 files changed, 18 insertions, 0 deletions
diff --git a/scripts/src/tools.lua b/scripts/src/tools.lua
index 25adcfbf7dd..09f8739e30a 100644
--- a/scripts/src/tools.lua
+++ b/scripts/src/tools.lua
@@ -133,6 +133,15 @@ files {
configuration { "mingw*" or "vs*" }
targetextension ".exe"
+-- workaround for https://developercommunity.visualstudio.com/content/problem/752372/vs2019-v1631-c-internal-compiler-error-when-zi-opt.html
+-- should be fixed in 16.5
+configuration { "Debug", "vs2019" }
+ if _OPTIONS["vs"]==nil then
+ flags {
+ "NoEditAndContinue",
+ }
+ end
+
configuration { }
strip()
@@ -749,6 +758,15 @@ files {
configuration { "mingw*" or "vs*" }
targetextension ".exe"
+-- workaround for https://developercommunity.visualstudio.com/content/problem/752372/vs2019-v1631-c-internal-compiler-error-when-zi-opt.html
+-- should be fixed in 16.5
+configuration { "Debug", "vs2019" }
+ if _OPTIONS["vs"]==nil then
+ flags {
+ "NoEditAndContinue",
+ }
+ end
+
configuration { }
strip()