Skip to content

Commit

Permalink
xcode backend: delete unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
eli-schwartz authored and jpakkane committed Dec 11, 2023
1 parent 78e23e4 commit d8a6bf9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions mesonbuild/backend/xcodebackend.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,12 +236,6 @@ def get_custom_target_output_dir(self, target):
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
Expand Down

0 comments on commit d8a6bf9

Please sign in to comment.