mirror of
https://github.com/holub/mame
synced 2025-06-09 22:33:00 +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
|
ifdef USE_BGFX
|
||||||
PARAMS+= --USE_BGFX=$(USE_BGFX)
|
PARAMS+= --USE_BGFX=$(USE_BGFX)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifdef NOWERROR
|
||||||
|
PARAMS+= --NOWERROR=$(NOWERROR)
|
||||||
|
endif
|
||||||
|
|
||||||
# extension for executables
|
# extension for executables
|
||||||
EXE =
|
EXE =
|
||||||
|
|
||||||
|
@ -139,6 +139,11 @@ newoption {
|
|||||||
description = "Force DRC C backend.",
|
description = "Force DRC C backend.",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
newoption {
|
||||||
|
trigger = "NOWERROR",
|
||||||
|
description = "NOWERROR",
|
||||||
|
}
|
||||||
|
|
||||||
newoption {
|
newoption {
|
||||||
trigger = "USE_BGFX",
|
trigger = "USE_BGFX",
|
||||||
description = "Use of BGFX.",
|
description = "Use of BGFX.",
|
||||||
@ -191,8 +196,14 @@ end
|
|||||||
configuration { "vs*" }
|
configuration { "vs*" }
|
||||||
flags {
|
flags {
|
||||||
"ExtraWarnings",
|
"ExtraWarnings",
|
||||||
|
}
|
||||||
|
if _OPTIONS["NOWERROR"]==nil then
|
||||||
|
flags{
|
||||||
"FatalWarnings",
|
"FatalWarnings",
|
||||||
}
|
}
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
configuration { "Debug", "vs*" }
|
configuration { "Debug", "vs*" }
|
||||||
flags {
|
flags {
|
||||||
"Symbols",
|
"Symbols",
|
||||||
@ -440,11 +451,11 @@ end
|
|||||||
}
|
}
|
||||||
|
|
||||||
-- add the error warning flag
|
-- add the error warning flag
|
||||||
--ifndef NOWERROR
|
if _OPTIONS["NOWERROR"]==nil then
|
||||||
buildoptions {
|
buildoptions {
|
||||||
"-Werror",
|
"-Werror",
|
||||||
}
|
}
|
||||||
|
end
|
||||||
|
|
||||||
-- if we are optimizing, include optimization options
|
-- if we are optimizing, include optimization options
|
||||||
--ifneq ($(),0)
|
--ifneq ($(),0)
|
||||||
|
Loading…
Reference in New Issue
Block a user