Merge pull request #679 from TurkeyMan/debug_detect
Better detect debug build
This commit is contained in:
commit
51be6befcf
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user