Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/build/premake/premake5.lua
Show First 20 Lines • Show All 204 Lines • ▼ Show 20 Lines | filter "action:not vs*" | ||||
buildoptions { "-std=c++17" } | buildoptions { "-std=c++17" } | ||||
filter {} | filter {} | ||||
-- various platform-specific build flags | -- various platform-specific build flags | ||||
if os.istarget("windows") then | if os.istarget("windows") then | ||||
flags { "MultiProcessorCompile" } | flags { "MultiProcessorCompile" } | ||||
-- Since KB4088875 Windows 7 has a soft requirement for SSE2. | |||||
-- Windows 8+ and Firefox ESR52 make it hard requirement. | |||||
-- Finally since VS2012 it's enabled implicitely when not set. | |||||
vectorextensions "SSE2" | |||||
-- use native wchar_t type (not typedef to unsigned short) | -- use native wchar_t type (not typedef to unsigned short) | ||||
nativewchar "on" | nativewchar "on" | ||||
else -- *nix | else -- *nix | ||||
-- TODO, FIXME: This check is incorrect because it means that some additional flags will be added inside the "else" branch if the | -- TODO, FIXME: This check is incorrect because it means that some additional flags will be added inside the "else" branch if the | ||||
-- compiler is ICC and minimal-flags is specified (ticket: #2994) | -- compiler is ICC and minimal-flags is specified (ticket: #2994) | ||||
if cc == "icc" and not _OPTIONS["minimal-flags"] then | if cc == "icc" and not _OPTIONS["minimal-flags"] then | ||||
▲ Show 20 Lines • Show All 1,231 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator