aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2022-03-31 17:26:51 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2022-03-31 17:26:51 +0300
commit31a22009389a3af59403a5f86d22d3d64a0ea387 (patch)
tree2d73cab38ab3da2bf043e0d003d11456428ea4a0
parent4b97c6065043e4268425bebec35f5c3722f73c2e (diff)
downloadmeson-31a22009389a3af59403a5f86d22d3d64a0ea387.zip
meson-31a22009389a3af59403a5f86d22d3d64a0ea387.tar.gz
meson-31a22009389a3af59403a5f86d22d3d64a0ea387.tar.bz2
Handle feed and capture in xcodebackend.
-rw-r--r--mesonbuild/backend/xcodebackend.py3
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} */')