aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-04-09 22:12:57 +0300
committerGitHub <noreply@github.com>2017-04-09 22:12:57 +0300
commit0b772f37c0b4a9a7759e70f6f57abdc2e0a394c6 (patch)
treea6e10f7748247b88f6f34de712057f2e1044c02d /mesonbuild
parent1652dccea2c1c4729f74ae66c7af5e3decf3dc5b (diff)
parent5791cb7c4b6e56c18e14ae50e3dbc746c293e36e (diff)
downloadmeson-0b772f37c0b4a9a7759e70f6f57abdc2e0a394c6.zip
meson-0b772f37c0b4a9a7759e70f6f57abdc2e0a394c6.tar.gz
meson-0b772f37c0b4a9a7759e70f6f57abdc2e0a394c6.tar.bz2
Merge pull request #1575 from centricular/unit-tests-more-backends
Run unit tests on more backends
Diffstat (limited to 'mesonbuild')
-rw-r--r--mesonbuild/backend/vs2010backend.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mesonbuild/backend/vs2010backend.py b/mesonbuild/backend/vs2010backend.py
index 139360c..feae79e 100644
--- a/mesonbuild/backend/vs2010backend.py
+++ b/mesonbuild/backend/vs2010backend.py
@@ -418,6 +418,9 @@ class Vs2010Backend(backends.Backend):
cmd.append(os.path.join(self.environment.get_build_dir(), self.get_target_filename(i)))
elif isinstance(i, dependencies.ExternalProgram):
cmd += i.get_command()
+ elif isinstance(i, File):
+ relfname = i.rel_to_builddir(self.build_to_src)
+ cmd.append(os.path.join(self.environment.get_build_dir(), relfname))
else:
cmd.append(i)
cmd_templ = '''"%s" ''' * len(cmd)