aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend/xcodebackend.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-09-01 00:59:11 -0400
committerEli Schwartz <eschwartz@archlinux.org>2023-03-20 16:58:15 -0400
commitb4c347674b919da8a09545ee9556bf0912e6641f (patch)
tree65fac958de56aa0872fb918f8a35ecd36941a549 /mesonbuild/backend/xcodebackend.py
parent46fe127503ec0a07f56904fb44b5ae9aac4374a2 (diff)
downloadmeson-b4c347674b919da8a09545ee9556bf0912e6641f.zip
meson-b4c347674b919da8a09545ee9556bf0912e6641f.tar.gz
meson-b4c347674b919da8a09545ee9556bf0912e6641f.tar.bz2
backends: simplify class setup
Diffstat (limited to 'mesonbuild/backend/xcodebackend.py')
-rw-r--r--mesonbuild/backend/xcodebackend.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/mesonbuild/backend/xcodebackend.py b/mesonbuild/backend/xcodebackend.py
index 605ee22..e4195e2 100644
--- a/mesonbuild/backend/xcodebackend.py
+++ b/mesonbuild/backend/xcodebackend.py
@@ -191,9 +191,11 @@ class PbxDict:
ofile.write(';\n')
class XCodeBackend(backends.Backend):
+
+ name = 'xcode'
+
def __init__(self, build: T.Optional[build.Build], interpreter: T.Optional[Interpreter]):
super().__init__(build, interpreter)
- self.name = 'xcode'
self.project_uid = self.environment.coredata.lang_guids['default'].replace('-', '')[:24]
self.buildtype = self.environment.coredata.get_option(OptionKey('buildtype'))
self.project_conflist = self.gen_id()