aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend/vs2010backend.py
diff options
context:
space:
mode:
authorNicolas Schneider <nioncode+git@gmail.com>2016-02-25 15:02:13 +0100
committerNicolas Schneider <nioncode+git@gmail.com>2016-02-25 23:12:56 +0100
commit4651ec8f77217a35515e037966c62a72456682dc (patch)
treef44b82f763e420787134eb96be6ff0258b23367e /mesonbuild/backend/vs2010backend.py
parent003696fc27e1f560a8448cc5998443696a162927 (diff)
downloadmeson-4651ec8f77217a35515e037966c62a72456682dc.zip
meson-4651ec8f77217a35515e037966c62a72456682dc.tar.gz
meson-4651ec8f77217a35515e037966c62a72456682dc.tar.bz2
vs2010: fix REGEN project input files
Diffstat (limited to 'mesonbuild/backend/vs2010backend.py')
-rw-r--r--mesonbuild/backend/vs2010backend.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/mesonbuild/backend/vs2010backend.py b/mesonbuild/backend/vs2010backend.py
index 9b80edd..73363da 100644
--- a/mesonbuild/backend/vs2010backend.py
+++ b/mesonbuild/backend/vs2010backend.py
@@ -580,8 +580,7 @@ if %%errorlevel%% neq 0 goto :VCEnd'''
('" "'.join(regen_command), private_dir)
ET.SubElement(custombuild, 'Outputs').text = os.path.join(self.environment.get_scratch_dir(), 'regen.stamp')
deps = self.get_regen_filelist()
- depstr = ';'.join([os.path.join(self.environment.get_source_dir(), d) for d in deps])
- ET.SubElement(custombuild, 'AdditionalInputs').text = depstr
+ ET.SubElement(custombuild, 'AdditionalInputs').text = ';'.join(deps)
ET.SubElement(root, 'Import', Project='$(VCTargetsPath)\Microsoft.Cpp.targets')
ET.SubElement(root, 'ImportGroup', Label='ExtensionTargets')
tree = ET.ElementTree(root)