mirror of
https://github.com/holub/mame
synced 2025-04-19 15:11:37 +03:00
added NOWERROR support (nw)
This commit is contained in:
parent
cf02c07fda
commit
ce5ccff643
5
makefile
5
makefile
@ -275,6 +275,11 @@ endif
|
||||
ifdef USE_BGFX
|
||||
PARAMS+= --USE_BGFX=$(USE_BGFX)
|
||||
endif
|
||||
|
||||
ifdef NOWERROR
|
||||
PARAMS+= --NOWERROR=$(NOWERROR)
|
||||
endif
|
||||
|
||||
# extension for executables
|
||||
EXE =
|
||||
|
||||
|
@ -139,6 +139,11 @@ newoption {
|
||||
description = "Force DRC C backend.",
|
||||
}
|
||||
|
||||
newoption {
|
||||
trigger = "NOWERROR",
|
||||
description = "NOWERROR",
|
||||
}
|
||||
|
||||
newoption {
|
||||
trigger = "USE_BGFX",
|
||||
description = "Use of BGFX.",
|
||||
@ -191,8 +196,14 @@ end
|
||||
configuration { "vs*" }
|
||||
flags {
|
||||
"ExtraWarnings",
|
||||
}
|
||||
if _OPTIONS["NOWERROR"]==nil then
|
||||
flags{
|
||||
"FatalWarnings",
|
||||
}
|
||||
end
|
||||
|
||||
|
||||
configuration { "Debug", "vs*" }
|
||||
flags {
|
||||
"Symbols",
|
||||
@ -440,11 +451,11 @@ end
|
||||
}
|
||||
|
||||
-- add the error warning flag
|
||||
--ifndef NOWERROR
|
||||
if _OPTIONS["NOWERROR"]==nil then
|
||||
buildoptions {
|
||||
"-Werror",
|
||||
}
|
||||
|
||||
end
|
||||
|
||||
-- if we are optimizing, include optimization options
|
||||
--ifneq ($(),0)
|
||||
|
Loading…
Reference in New Issue
Block a user