aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend/vs2010backend.py
diff options
context:
space:
mode:
authorNiklas Claesson <nicke.claesson@gmail.com>2017-09-18 18:09:41 +0200
committerNiklas Claesson <nicke.claesson@gmail.com>2017-09-20 13:00:34 +0200
commit07dde545d93b16c6bb4db443ffb7fbd75b3414de (patch)
tree23650aed7b009d07a81adac75e902a814c5bf74e /mesonbuild/backend/vs2010backend.py
parentbbda3c7adb84dad775559c932a3cc9533ee6c145 (diff)
downloadmeson-07dde545d93b16c6bb4db443ffb7fbd75b3414de.zip
meson-07dde545d93b16c6bb4db443ffb7fbd75b3414de.tar.gz
meson-07dde545d93b16c6bb4db443ffb7fbd75b3414de.tar.bz2
Add @PLAINNAME@ and @BASENAME@ to arguments argument for Generator
Fixes #1282
Diffstat (limited to 'mesonbuild/backend/vs2010backend.py')
-rw-r--r--mesonbuild/backend/vs2010backend.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/backend/vs2010backend.py b/mesonbuild/backend/vs2010backend.py
index 0bbc17c..5c2f836 100644
--- a/mesonbuild/backend/vs2010backend.py
+++ b/mesonbuild/backend/vs2010backend.py
@@ -106,7 +106,6 @@ class Vs2010Backend(backends.Backend):
infilelist = genlist.get_inputs()
outfilelist = genlist.get_outputs()
exe_arr = self.exe_object_to_cmd_array(exe)
- base_args = generator.get_arglist()
idgroup = ET.SubElement(parent_node, 'ItemGroup')
for i in range(len(infilelist)):
if len(infilelist) == len(outfilelist):
@@ -115,6 +114,7 @@ class Vs2010Backend(backends.Backend):
sole_output = ''
curfile = infilelist[i]
infilename = os.path.join(down, curfile.rel_to_builddir(self.build_to_src))
+ base_args = generator.get_arglist(infilename)
outfiles_rel = genlist.get_outputs_for(curfile)
outfiles = [os.path.join(target_private_dir, of) for of in outfiles_rel]
generator_output_files += outfiles