summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudioGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-08-27 11:44:57 (GMT)
committerStephen Kelly <steveire@gmail.com>2016-08-27 13:41:17 (GMT)
commit58ba87f892316b9f9cbb7851a940ec808527e36a (patch)
treeaea9e1d7898e6d8baffc74b1ea6abd5937fb955a /Source/cmLocalVisualStudioGenerator.cxx
parente80314d7a8208214ac85bf9b2e769a7e3b5aaa04 (diff)
downloadCMake-58ba87f892316b9f9cbb7851a940ec808527e36a.zip
CMake-58ba87f892316b9f9cbb7851a940ec808527e36a.tar.gz
CMake-58ba87f892316b9f9cbb7851a940ec808527e36a.tar.bz2
Convert: Replace Convert(FULL) with equivalent
This is more explicit than funnelling everything through the Convert method.
Diffstat (limited to 'Source/cmLocalVisualStudioGenerator.cxx')
-rw-r--r--Source/cmLocalVisualStudioGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudioGenerator.cxx b/Source/cmLocalVisualStudioGenerator.cxx
index d1cefe3..b492962 100644
--- a/Source/cmLocalVisualStudioGenerator.cxx
+++ b/Source/cmLocalVisualStudioGenerator.cxx
@@ -155,7 +155,8 @@ std::string cmLocalVisualStudioGenerator::ConstructScript(
script += newline;
newline = newline_text;
script += "cd ";
- script += this->Convert(workingDirectory, FULL, SHELL);
+ script += this->ConvertToOutputFormat(
+ cmSystemTools::CollapseFullPath(workingDirectory), SHELL);
script += check_error;
// Change the working drive.