cleanup (nw)

This commit is contained in:
Miodrag Milanovic 2016-10-07 14:31:35 +02:00
parent c0a5494de5
commit b515a00e55

View File

@ -367,15 +367,6 @@ newoption {
description = "Target machine platform (x86,arm,...)", description = "Target machine platform (x86,arm,...)",
} }
newoption {
trigger = "USE_LIBUV",
description = "Use libuv.",
allowed = {
{ "0", "Disabled" },
{ "1", "Enabled" },
}
}
newoption { newoption {
trigger = "DEBUG_DIR", trigger = "DEBUG_DIR",
description = "Default directory for debugger.", description = "Default directory for debugger.",
@ -412,10 +403,6 @@ if not _OPTIONS["NOASM"] then
end end
end end
if not _OPTIONS["USE_LIBUV"] then
_OPTIONS["USE_LIBUV"] = "1"
end
if _OPTIONS["NOASM"]=="1" and not _OPTIONS["FORCE_DRC_C_BACKEND"] then if _OPTIONS["NOASM"]=="1" and not _OPTIONS["FORCE_DRC_C_BACKEND"] then
_OPTIONS["FORCE_DRC_C_BACKEND"] = "1" _OPTIONS["FORCE_DRC_C_BACKEND"] = "1"
end end
@ -527,12 +514,6 @@ configuration { "gmake or ninja" }
dofile ("toolchain.lua") dofile ("toolchain.lua")
if _OPTIONS["USE_LIBUV"]=="0" then
defines {
"NO_LIBUV",
}
end
if _OPTIONS["targetos"]=="windows" then if _OPTIONS["targetos"]=="windows" then
configuration { "x64" } configuration { "x64" }
defines { defines {