Merge pull request #679 from TurkeyMan/debug_detect

Better detect debug build
This commit is contained in:
Tom van Dijck 2017-01-27 08:47:12 -08:00 committed by GitHub
commit 51be6befcf

View File

@ -413,7 +413,10 @@
-- --
function config.isDebugBuild(cfg) function config.isDebugBuild(cfg)
return cfg.symbols == p.ON and not config.isOptimizedBuild(cfg) return cfg.symbols ~= nil and
cfg.symbols ~= p.OFF and
cfg.symbols ~= "Default" and
not config.isOptimizedBuild(cfg)
end end