trunk/scripts/genie.lua
| r245241 | r245242 | |
| 140 | 140 | } |
| 141 | 141 | |
| 142 | 142 | newoption { |
| 143 | trigger = "NOWERROR", |
| 144 | description = "NOWERROR", |
| 145 | } |
| 146 | |
| 147 | newoption { |
| 143 | 148 | trigger = "USE_BGFX", |
| 144 | 149 | description = "Use of BGFX.", |
| 145 | 150 | allowed = { |
| r245241 | r245242 | |
| 191 | 196 | configuration { "vs*" } |
| 192 | 197 | flags { |
| 193 | 198 | "ExtraWarnings", |
| 199 | } |
| 200 | if _OPTIONS["NOWERROR"]==nil then |
| 201 | flags{ |
| 194 | 202 | "FatalWarnings", |
| 195 | 203 | } |
| 204 | end |
| 205 | |
| 206 | |
| 196 | 207 | configuration { "Debug", "vs*" } |
| 197 | 208 | flags { |
| 198 | 209 | "Symbols", |
| r245241 | r245242 | |
| 440 | 451 | } |
| 441 | 452 | |
| 442 | 453 | -- add the error warning flag |
| 443 | | --ifndef NOWERROR |
| 454 | if _OPTIONS["NOWERROR"]==nil then |
| 444 | 455 | buildoptions { |
| 445 | 456 | "-Werror", |
| 446 | 457 | } |
| 458 | end |
| 447 | 459 | |
| 448 | | |
| 449 | 460 | -- if we are optimizing, include optimization options |
| 450 | 461 | --ifneq ($(),0) |
| 451 | 462 | if _OPTIONS["OPTIMIZE"] then |