From 004fda780c2f7c184a5ac165bcbf33f1ddf3d59d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Lucas=20Golini?= Date: Wed, 15 Feb 2023 02:47:32 -0300 Subject: [PATCH] Try fix VS Windows build. --- premake4.lua | 1 + premake5.lua | 1 + 2 files changed, 2 insertions(+) diff --git a/premake4.lua b/premake4.lua index 1bca4e54c..00ec3e7b8 100644 --- a/premake4.lua +++ b/premake4.lua @@ -898,6 +898,7 @@ function build_eepp( build_name ) buildoptions{ "-std=c++17" } else buildoptions{ "/std:c++17" } + buildoptions{ "/bigobj" } end if os.is_real("mingw32") or os.is_real("mingw64") or os.is_real("windows") then diff --git a/premake5.lua b/premake5.lua index cbe5d32bb..8c82d8b15 100644 --- a/premake5.lua +++ b/premake5.lua @@ -674,6 +674,7 @@ function build_eepp( build_name ) filter "action:vs*" incdirs { "src/thirdparty/libzip/vs" } + buildoptions { "/bigobj" } end workspace "eepp"