Gets a list of all the per-target settings. This will only fetch keys whose values are the same across all configurations.
(self)
| 1014 | return libtoolflags |
| 1015 | |
| 1016 | def GetPerTargetSettings(self): |
| 1017 | """Gets a list of all the per-target settings. This will only fetch keys |
| 1018 | whose values are the same across all configurations.""" |
| 1019 | first_pass = True |
| 1020 | result = {} |
| 1021 | for configname in sorted(self.xcode_settings.keys()): |
| 1022 | if first_pass: |
| 1023 | result = dict(self.xcode_settings[configname]) |
| 1024 | first_pass = False |
| 1025 | else: |
| 1026 | for key, value in self.xcode_settings[configname].items(): |
| 1027 | if key not in result: |
| 1028 | continue |
| 1029 | elif result[key] != value: |
| 1030 | del result[key] |
| 1031 | return result |
| 1032 | |
| 1033 | def GetPerConfigSetting(self, setting, configname, default=None): |
| 1034 | if configname in self.xcode_settings: |
no test coverage detected