diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2021-04-29 19:17:12 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-04-29 21:12:11 +0100 |
commit | 53f6ef3b7be92f17f9084f87c1eee5b521f8bb47 (patch) | |
tree | 36e2a96e994558a462f6cd24580e922b14bedc1c /mesonbuild/backend/xcodebackend.py | |
parent | cdc6c866ca087ba738f0a5d01cc0fc6ddc066935 (diff) | |
download | meson-53f6ef3b7be92f17f9084f87c1eee5b521f8bb47.zip meson-53f6ef3b7be92f17f9084f87c1eee5b521f8bb47.tar.gz meson-53f6ef3b7be92f17f9084f87c1eee5b521f8bb47.tar.bz2 |
Xcode: fix project cleaning.
Diffstat (limited to 'mesonbuild/backend/xcodebackend.py')
-rw-r--r-- | mesonbuild/backend/xcodebackend.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/backend/xcodebackend.py b/mesonbuild/backend/xcodebackend.py index aeaee5c..66f6704 100644 --- a/mesonbuild/backend/xcodebackend.py +++ b/mesonbuild/backend/xcodebackend.py @@ -219,7 +219,7 @@ class XCodeBackend(backends.Backend): def get_target_dir(self, target): dirname = os.path.join(target.get_subdir(), self.environment.coredata.get_option(OptionKey('buildtype'))) - os.makedirs(os.path.join(self.environment.get_build_dir(), dirname), exist_ok=True) + #os.makedirs(os.path.join(self.environment.get_build_dir(), dirname), exist_ok=True) return dirname def get_custom_target_output_dir(self, target): @@ -1056,7 +1056,7 @@ class XCodeBackend(backends.Backend): project_dict.add_item('compatibilityVersion', '"Xcode 3.2"') project_dict.add_item('hasScannedForEncodings', 0) project_dict.add_item('mainGroup', self.maingroup_id) - project_dict.add_item('projectDirPath', f'"{self.build_to_src}"') + project_dict.add_item('projectDirPath', '"' + self.environment.get_source_dir() + '"') project_dict.add_item('projectRoot', '""') targets_arr = PbxArray() project_dict.add_item('targets', targets_arr) |