aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend/xcodebackend.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2021-08-20 18:05:09 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2021-08-21 22:33:47 +0300
commit267d5385d441f48ea369b6d3927deab8a0066286 (patch)
treec2a07e3530ecd3112e485592035d5171c7bdc8b6 /mesonbuild/backend/xcodebackend.py
parent12e7b3afcf0b7772c929b75abd7c80f0454e2c48 (diff)
downloadmeson-267d5385d441f48ea369b6d3927deab8a0066286.zip
meson-267d5385d441f48ea369b6d3927deab8a0066286.tar.gz
meson-267d5385d441f48ea369b6d3927deab8a0066286.tar.bz2
Path special casing for the Xcode backend.
Diffstat (limited to 'mesonbuild/backend/xcodebackend.py')
-rw-r--r--mesonbuild/backend/xcodebackend.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/mesonbuild/backend/xcodebackend.py b/mesonbuild/backend/xcodebackend.py
index d9f5bfa..2d1caae 100644
--- a/mesonbuild/backend/xcodebackend.py
+++ b/mesonbuild/backend/xcodebackend.py
@@ -250,7 +250,11 @@ class XCodeBackend(backends.Backend):
if isinstance(source, mesonlib.File):
source = source.fname
stem = os.path.splitext(os.path.basename(source))[0]
- return f'{project}.build/{buildtype}/{tname}.build/Objects-normal/{arch}/{stem}.o'
+ obj_path = f'{project}.build/{buildtype}/{tname}.build/Objects-normal/{arch}/{stem}.o'
+ return obj_path
+
+ def get_extracted_obj_paths(self, target: build.BuildTarget, outputs: T.List[str])-> T.List[str]:
+ return outputs
def generate(self):
self.serialize_tests()