aboutsummaryrefslogtreecommitdiff
path: root/devtools/create_project
diff options
context:
space:
mode:
authorSupSuper2018-12-19 06:03:50 +0000
committerFilippos Karapetis2018-12-23 18:39:06 +0200
commitb66711da04a2c89b012286552a2d64bbcbb1692d (patch)
tree991d3c73c2626d1ddc05140efd949e36e63bd653 /devtools/create_project
parent47b55f29c5ade774c00f1b1affbc01d0716b2732 (diff)
downloadscummvm-rg350-b66711da04a2c89b012286552a2d64bbcbb1692d.tar.gz
scummvm-rg350-b66711da04a2c89b012286552a2d64bbcbb1692d.tar.bz2
scummvm-rg350-b66711da04a2c89b012286552a2d64bbcbb1692d.zip
MSVC: Fix unquoted paths in build events
Diffstat (limited to 'devtools/create_project')
-rw-r--r--devtools/create_project/msvc.cpp4
1 files changed, 2 insertions, 2 deletions
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");