From b66711da04a2c89b012286552a2d64bbcbb1692d Mon Sep 17 00:00:00 2001 From: SupSuper Date: Wed, 19 Dec 2018 06:03:50 +0000 Subject: MSVC: Fix unquoted paths in build events --- devtools/create_project/msvc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'devtools/create_project/msvc.cpp') diff --git a/devtools/create_project/msvc.cpp b/devtools/create_project/msvc.cpp index 3fd8d2b935..1912b8df6c 100644 --- a/devtools/create_project/msvc.cpp +++ b/devtools/create_project/msvc.cpp @@ -185,7 +185,7 @@ std::string MSVCProvider::getTestPreBuildEvent(const BuildSetup &setup) const { for (StringList::const_iterator it = setup.testDirs.begin(); it != setup.testDirs.end(); ++it) target += " $(SolutionDir)" + *it + "*.h"; - return ""$(SolutionDir)../../test/cxxtest/cxxtestgen.py" --runner=ParenPrinter --no-std --no-eh -o $(SolutionDir)test_runner.cpp" + target; + return ""$(SolutionDir)../../test/cxxtest/cxxtestgen.py" --runner=ParenPrinter --no-std --no-eh -o "$(SolutionDir)test_runner.cpp"" + target; } std::string MSVCProvider::getPostBuildEvent(bool isWin32, bool createInstaller) const { @@ -198,7 +198,7 @@ std::string MSVCProvider::getPostBuildEvent(bool isWin32, bool createInstaller) cmdLine += (isWin32) ? "x86" : "x64"; - cmdLine += " %" LIBS_DEFINE "% "; + cmdLine += " "%" LIBS_DEFINE "%" "; // Specify if installer needs to be built or not cmdLine += (createInstaller ? "1" : "0"); -- cgit v1.2.3