diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2022-03-31 17:26:51 +0300 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-03-31 21:30:16 -0400 |
commit | 6f24ab9407cf5b6d8086e50fae6090e4a3694225 (patch) | |
tree | 7f7869d0dccfddd530ffd612827ec19554f7310b | |
parent | 1cfead6647b23d2e50743bc36a41ab53466af6ce (diff) | |
download | meson-6f24ab9407cf5b6d8086e50fae6090e4a3694225.zip meson-6f24ab9407cf5b6d8086e50fae6090e4a3694225.tar.gz meson-6f24ab9407cf5b6d8086e50fae6090e4a3694225.tar.bz2 |
Handle feed and capture in xcodebackend.
-rw-r--r-- | mesonbuild/backend/xcodebackend.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mesonbuild/backend/xcodebackend.py b/mesonbuild/backend/xcodebackend.py index ad48673..a5c6931 100644 --- a/mesonbuild/backend/xcodebackend.py +++ b/mesonbuild/backend/xcodebackend.py @@ -1177,7 +1177,8 @@ class XCodeBackend(backends.Backend): (srcs, ofilenames, cmd) = self.eval_custom_target_command(t, absolute_outputs=True) fixed_cmd, _ = self.as_meson_exe_cmdline(cmd[0], cmd[1:], - #workdir=None, + capture=ofilenames[0] if t.capture else None, + feed=srcs[0] if t.feed else None, env=t.env) custom_dict = PbxDict() objects_dict.add_item(self.shell_targets[tname], custom_dict, f'/* Custom target {tname} */') |