summaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2023-12-10 23:04:10 -0500
committerJussi Pakkanen <jpakkane@gmail.com>2023-12-11 21:13:20 +0200
commitd8a6bf9352ebc0be84be4337ee1cecfa840ab1f0 (patch)
tree1de41a5b5bab3228658bd3b2e53078025c60915b /mesonbuild
parent78e23e48f20067fb0c29106658fca8444ff92093 (diff)
downloadmeson-d8a6bf9352ebc0be84be4337ee1cecfa840ab1f0.tar.gz
xcode backend: delete unused code
Diffstat (limited to 'mesonbuild')
-rw-r--r--mesonbuild/backend/xcodebackend.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/mesonbuild/backend/xcodebackend.py b/mesonbuild/backend/xcodebackend.py
index bd20e3af9..104527a91 100644
--- a/mesonbuild/backend/xcodebackend.py
+++ b/mesonbuild/backend/xcodebackend.py
@@ -236,12 +236,6 @@ class XCodeBackend(backends.Backend):
os.makedirs(os.path.join(self.environment.get_build_dir(), dirname), exist_ok=True)
return dirname
- def target_to_build_root(self, target):
- if self.get_target_dir(target) == '':
- return ''
- directories = os.path.normpath(self.get_target_dir(target)).split(os.sep)
- return os.sep.join(['..'] * len(directories))
-
def object_filename_from_source(self, target, source):
# Xcode has the following naming scheme:
# projectname.build/debug/prog@exe.build/Objects-normal/x86_64/func.o