mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-28 17:16:29 +03:00
Should fix Windows VC build.
This commit is contained in:
@@ -507,7 +507,7 @@ function build_link_configuration( package_name, use_ee_icon )
|
||||
if not is_vs() then
|
||||
buildoptions{ "-std=c++17" }
|
||||
else
|
||||
buildoptions{ "/std:c++17", "/utf-8" }
|
||||
buildoptions{ "/std:c++17", "/utf-8", "/bigobj" }
|
||||
end
|
||||
|
||||
if package_name ~= "eepp" and package_name ~= "eepp-static" then
|
||||
@@ -936,8 +936,7 @@ function build_eepp( build_name )
|
||||
if not is_vs() then
|
||||
buildoptions{ "-std=c++17" }
|
||||
else
|
||||
buildoptions{ "/std:c++17" }
|
||||
buildoptions{ "/bigobj" }
|
||||
buildoptions{ "/std:c++17", "/utf-8", "/bigobj" }
|
||||
end
|
||||
|
||||
if os.is_real("mingw32") or os.is_real("mingw64") or os.is_real("windows") then
|
||||
|
||||
@@ -328,7 +328,7 @@ function build_link_configuration( package_name, use_ee_icon )
|
||||
end
|
||||
|
||||
filter "action:vs*"
|
||||
buildoptions { "/utf-8" }
|
||||
buildoptions{ "/std:c++17", "/utf-8", "/bigobj" }
|
||||
|
||||
filter "action:not vs*"
|
||||
buildoptions { "-Wall" }
|
||||
@@ -719,7 +719,7 @@ function build_eepp( build_name )
|
||||
|
||||
filter "action:vs*"
|
||||
incdirs { "src/thirdparty/libzip/vs" }
|
||||
buildoptions { "/bigobj" }
|
||||
buildoptions{ "/std:c++17", "/utf-8", "/bigobj" }
|
||||
|
||||
filter { "action:export-compile-commands", "system:macosx" }
|
||||
buildoptions { "-std=c++17" }
|
||||
|
||||
Reference in New Issue
Block a user