From 87566c681be78309dcaff1221c592222f7888c67 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Mon, 10 Apr 2023 17:35:21 +0000 Subject: [PATCH] waflib: extras: msvs: enclose solution path into doublequotes in generated shell commands --- waflib/extras/msvs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/waflib/extras/msvs.py b/waflib/extras/msvs.py index 03b739f8..f987bb57 100644 --- a/waflib/extras/msvs.py +++ b/waflib/extras/msvs.py @@ -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)