aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend/backends.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2021-05-21 17:11:56 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2021-05-23 17:59:14 +0100
commit43f0aa17b7b17cd8bfe741d0245085e78a3b291b (patch)
tree29955a6eb57824b089060436f8ce7d83f1871a50 /mesonbuild/backend/backends.py
parentcb085f3eb3ca0e93b176cd1304cd330cc5b3863e (diff)
downloadmeson-43f0aa17b7b17cd8bfe741d0245085e78a3b291b.zip
meson-43f0aa17b7b17cd8bfe741d0245085e78a3b291b.tar.gz
meson-43f0aa17b7b17cd8bfe741d0245085e78a3b291b.tar.bz2
Add swift executable support in Xcode.
Diffstat (limited to 'mesonbuild/backend/backends.py')
-rw-r--r--mesonbuild/backend/backends.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py
index 4d20ac5..1e5a13e 100644
--- a/mesonbuild/backend/backends.py
+++ b/mesonbuild/backend/backends.py
@@ -423,6 +423,12 @@ class Backend:
return True
return False
+ def determine_swift_dep_dirs(self, target):
+ result = []
+ for l in target.link_targets:
+ result.append(self.get_target_private_dir_abs(l))
+ return result
+
def get_executable_serialisation(self, cmd, workdir=None,
extra_bdeps=None, capture=None,
env: T.Optional[build.EnvironmentVariables] = None):