trunk/scripts/genie.lua
| r245204 | r245205 | |
| 154 | 154 | description = "Generate a link map.", |
| 155 | 155 | } |
| 156 | 156 | |
| 157 | newoption { |
| 158 | trigger = "FORCE_DRC_C_BACKEND", |
| 159 | description = "Force DRC C backend.", |
| 160 | } |
| 161 | |
| 162 | |
| 157 | 163 | local os_version = str_to_version(_OPTIONS["os_version"]) |
| 158 | 164 | USE_BGFX = 1 |
| 159 | 165 | if (_OPTIONS["targetos"]=="macosx" and os_version < 100700) then |
| r245204 | r245205 | |
| 337 | 343 | "FLAC__NO_DLL", |
| 338 | 344 | } |
| 339 | 345 | |
| 346 | -- fixme -- need to make this work for other target architectures (PPC) |
| 347 | if _OPTIONS["FORCE_DRC_C_BACKEND"]==nil then |
| 348 | configuration { "x64" } |
| 349 | defines { |
| 350 | "NATIVE_DRC=drcbe_x64", |
| 351 | } |
| 352 | configuration { "x32" } |
| 353 | defines { |
| 354 | "NATIVE_DRC=drcbe_x86", |
| 355 | } |
| 356 | configuration { } |
| 357 | end |
| 358 | |
| 340 | 359 | -- define USE_SYSTEM_JPEGLIB if library shipped with MAME is not used |
| 341 | 360 | --ifneq ($(BUILD_JPEGLIB),1) |
| 342 | 361 | --DEFS += -DUSE_SYSTEM_JPEGLIB |