diff options
author | SupSuper | 2018-12-19 06:03:50 +0000 |
---|---|---|
committer | Filippos Karapetis | 2018-12-23 18:39:06 +0200 |
commit | b66711da04a2c89b012286552a2d64bbcbb1692d (patch) | |
tree | 991d3c73c2626d1ddc05140efd949e36e63bd653 /devtools/create_project | |
parent | 47b55f29c5ade774c00f1b1affbc01d0716b2732 (diff) | |
download | scummvm-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.cpp | 4 |
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"); |