2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-26 03:39:53 +01:00

Custom project build configurations fix

This commit is contained in:
Simon 2015-07-04 22:23:16 +02:00
parent 0c864ecaac
commit d5c5db686a

View File

@ -413,13 +413,7 @@ class xcode(Build.BuildContext):
buildphases = [compilesources]
dependency_targets = []
settings = {
"Debug": {},
"Release": {}
}
if hasattr(tg, 'settings'):
isinstance(tg.settings, dict)
settings.update(tg.settings)
settings = getattr(tg, 'settings', {})
target_type = getattr(tg, 'target_type', TARGET_TYPE_APPLICATION)
file_ext = target_type[2]