Previous 199869 Revisions Next

r36730 Saturday 28th March, 2015 at 06:03:44 UTC by Miodrag Milanović
added NOWERROR support (nw)
[/trunk]makefile
[scripts]genie.lua

trunk/makefile
r245241r245242
275275ifdef USE_BGFX
276276PARAMS+= --USE_BGFX=$(USE_BGFX)
277277endif
278
279ifdef NOWERROR
280PARAMS+= --NOWERROR=$(NOWERROR)
281endif
282
278283# extension for executables
279284EXE =
280285
trunk/scripts/genie.lua
r245241r245242
140140}
141141
142142newoption {
143   trigger = "NOWERROR",
144   description = "NOWERROR",
145}
146
147newoption {
143148   trigger = "USE_BGFX",
144149   description = "Use of BGFX.",
145150   allowed = {
r245241r245242
191196   configuration { "vs*" }
192197   flags {
193198      "ExtraWarnings",
199   }
200   if _OPTIONS["NOWERROR"]==nil then
201   flags{
194202      "FatalWarnings",
195203   }
204   end
205   
206   
196207   configuration { "Debug", "vs*" }
197208      flags {
198209         "Symbols",
r245241r245242
440451   }
441452
442453   -- add the error warning flag
443   --ifndef NOWERROR
454if _OPTIONS["NOWERROR"]==nil then
444455   buildoptions {
445456      "-Werror",
446457   }
458end
447459
448
449460-- if we are optimizing, include optimization options
450461--ifneq ($(),0)
451462if _OPTIONS["OPTIMIZE"] then


Previous 199869 Revisions Next


© 1997-2024 The MAME Team