aboutsummaryrefslogtreecommitdiff
path: root/backends.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2015-12-11 00:19:25 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2015-12-11 00:19:25 +0200
commitd531f915b12ad648c1ae08749548233882087f12 (patch)
treea899d3981ab377b970984e57154045f5915980fa /backends.py
parent43b07729aa058ce8af1aa4d7f3c445f61f39c42a (diff)
downloadmeson-d531f915b12ad648c1ae08749548233882087f12.zip
meson-d531f915b12ad648c1ae08749548233882087f12.tar.gz
meson-d531f915b12ad648c1ae08749548233882087f12.tar.bz2
Can build Swift libraries and link them.
Diffstat (limited to 'backends.py')
-rw-r--r--backends.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/backends.py b/backends.py
index 70b206a..7543894 100644
--- a/backends.py
+++ b/backends.py
@@ -83,6 +83,13 @@ class Backend():
os.makedirs(os.path.join(self.environment.get_build_dir(), dirname), exist_ok=True)
return dirname
+ # Crap hack. The above was doing the wrong thing but too many thing use it to fix
+ # now. Get fixed once Swift works.
+ def get_target_private_dir_abs_v2(self, target):
+ dirname = os.path.join(self.environment.get_build_dir(), self.get_target_private_dir(target))
+ os.makedirs(dirname, exist_ok=True)
+ return dirname
+
def generate_unity_files(self, target, unity_src):
langlist = {}
abs_files = []