diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2017-09-21 20:02:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-21 20:02:21 +0300 |
commit | 2f6702839e9f1c109230ace33e997b4d06663479 (patch) | |
tree | 11dd328f3f47faceac656dae816da01073ce4689 /mesonbuild/backend/vs2010backend.py | |
parent | b6821dc590906b540c51417261235d0f1ea1c08c (diff) | |
parent | 63ada0ce26024f1f961497c4ae09796571d02114 (diff) | |
download | meson-2f6702839e9f1c109230ace33e997b4d06663479.zip meson-2f6702839e9f1c109230ace33e997b4d06663479.tar.gz meson-2f6702839e9f1c109230ace33e997b4d06663479.tar.bz2 |
Merge pull request #2340 from NickeZ/generator-fix
Add @PLAINNAME@ and @BASENAME@ to arguments argument for Generator
Diffstat (limited to 'mesonbuild/backend/vs2010backend.py')
-rw-r--r-- | mesonbuild/backend/vs2010backend.py | 2 |
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 |