mirror of https://gitlab.com/ita1024/waf.git
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
|
self.build_properties = ret
|
||||||
|
|
||||||
def get_build_params(self, props):
|
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)
|
return (self.get_waf(), opt)
|
||||||
|
|
||||||
def get_build_command(self, props):
|
def get_build_command(self, props):
|
||||||
|
@ -681,7 +681,7 @@ class vsnode_target(vsnode_project):
|
||||||
"""
|
"""
|
||||||
Override the default to add the target name
|
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):
|
if getattr(self, 'tg', None):
|
||||||
opt += " --targets=%s" % self.tg.name
|
opt += " --targets=%s" % self.tg.name
|
||||||
return (self.get_waf(), opt)
|
return (self.get_waf(), opt)
|
||||||
|
|
Loading…
Reference in New Issue