Previous 199869 Revisions Next

r36719 Friday 27th March, 2015 at 16:19:57 UTC by Miodrag Milanović
propagated USE_BGFX for unsupported platforms (nw)
[/trunk]makefile
[scripts]genie.lua

trunk/makefile
r245230r245231
272272PARAMS+= --MAP=$(MAP)
273273endif
274274
275ifdef USE_BGFX
276PARAMS+= --USE_BGFX=$(USE_BGFX)
277endif
275278# extension for executables
276279EXE =
277280
trunk/scripts/genie.lua
r245230r245231
154154   description = "Force DRC C backend.",
155155}
156156
157newoption {
158   trigger = "USE_BGFX",
159   description = "Use of BGFX.",
160   allowed = {
161      { "0",   "Disabled"    },
162      { "1",   "Enabled"      },
163   }
164}
157165
166
158167local os_version = str_to_version(_OPTIONS["os_version"])
168
159169USE_BGFX = 1
160170if (_OPTIONS["targetos"]=="macosx" and  os_version < 100700) then
161171   USE_BGFX = 0
162172end
173if(_OPTIONS["USE_BGFX"]~=nil) then
174   USE_BGFX = tonumber(_OPTIONS["USE_BGFX"])
175end
176
163177GEN_DIR = MAME_BUILD_DIR .. "generated/"
164178
165179if (_OPTIONS["target"] == nil) then return false end


Previous 199869 Revisions Next


© 1997-2024 The MAME Team