Better detect debug build
--
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
