Allow x86 and release builds

This commit is contained in:
SirLynix 2022-07-27 19:05:19 +02:00
parent 1e1dc3ebce
commit 89cb35e5bf
1 changed files with 3 additions and 4 deletions

View File

@ -154,7 +154,7 @@ if is_plat("macosx") then
add_requires("libx11")
end
add_rules("mode.asan", "mode.tsan", "mode.coverage", "mode.debug", "mode.releasedbg")
add_rules("mode.asan", "mode.tsan", "mode.coverage", "mode.debug", "mode.releasedbg", "mode.release")
add_rules("plugin.vsxmake.autoupdate")
add_rules("build.rendererplugins")
add_rules("download.assets.examples")
@ -164,8 +164,7 @@ if has_config("tests") then
end
set_allowedplats("windows", "mingw", "linux", "macosx")
set_allowedarchs("windows|x64", "mingw|x86_64", "linux|x86_64", "macosx|x86_64")
set_allowedmodes("debug", "releasedbg", "asan", "tsan", "coverage")
set_allowedmodes("debug", "releasedbg", "release", "asan", "tsan", "coverage")
set_defaultmode("debug")
if is_mode("debug") then
@ -178,7 +177,7 @@ elseif is_mode("coverage") then
if not is_plat("windows") then
add_links("gcov")
end
elseif is_mode("releasedbg") then
elseif is_mode("releasedbg", "release") then
set_fpmodels("fast")
add_vectorexts("sse", "sse2", "sse3", "ssse3")
end