mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-10 20:29:10 +01:00
waflib: extras: msvs: enclose solution path into doublequotes in generated shell commands
This commit is contained in:
parent
36376fbaca
commit
87566c681b
@ -583,7 +583,7 @@ class vsnode_project(vsnode):
|
||||
self.build_properties = ret
|
||||
|
||||
def get_build_params(self, props):
|
||||
opt = '--execsolution=%s' % self.ctx.get_solution_node().win32path()
|
||||
opt = '--execsolution="%s"' % self.ctx.get_solution_node().win32path()
|
||||
return (self.get_waf(), opt)
|
||||
|
||||
def get_build_command(self, props):
|
||||
@ -681,7 +681,7 @@ class vsnode_target(vsnode_project):
|
||||
"""
|
||||
Override the default to add the target name
|
||||
"""
|
||||
opt = '--execsolution=%s' % self.ctx.get_solution_node().win32path()
|
||||
opt = '--execsolution="%s"' % self.ctx.get_solution_node().win32path()
|
||||
if getattr(self, 'tg', None):
|
||||
opt += " --targets=%s" % self.tg.name
|
||||
return (self.get_waf(), opt)
|
||||
|
Loading…
Reference in New Issue
Block a user