vs2010: fix wrong generator command concatenation

pull/408/head
Nicolas Schneider 9 years ago
parent 1196532c0b
commit c2e406295e
  1. 2
      mesonbuild/backend/vs2010backend.py

@ -50,7 +50,7 @@ class Vs2010Backend(backends.Backend):
if isinstance(exe, build.BuildTarget): if isinstance(exe, build.BuildTarget):
exe_file = os.path.join(self.environment.get_build_dir(), self.get_target_filename(exe)) exe_file = os.path.join(self.environment.get_build_dir(), self.get_target_filename(exe))
else: else:
exe_file = exe.get_command() exe_file = exe.get_command()[0]
base_args = generator.get_arglist() base_args = generator.get_arglist()
for i in range(len(infilelist)): for i in range(len(infilelist)):
if len(infilelist) == len(outfilelist): if len(infilelist) == len(outfilelist):

Loading…
Cancel
Save