summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudioGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-08-27 16:52:40 (GMT)
committerStephen Kelly <steveire@gmail.com>2016-09-19 19:36:14 (GMT)
commitad79061720b8f68cd8e406aadd240d233d2a1073 (patch)
tree8b8b52bb384d218c6c8e6410b78d1377ffa5d21f /Source/cmLocalVisualStudioGenerator.cxx
parent4cf707b08316be6afb15435ce57c67b467fc47b3 (diff)
downloadCMake-ad79061720b8f68cd8e406aadd240d233d2a1073.zip
CMake-ad79061720b8f68cd8e406aadd240d233d2a1073.tar.gz
CMake-ad79061720b8f68cd8e406aadd240d233d2a1073.tar.bz2
Convert: Inline uses of START_OUTPUT
Diffstat (limited to 'Source/cmLocalVisualStudioGenerator.cxx')
-rw-r--r--Source/cmLocalVisualStudioGenerator.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudioGenerator.cxx b/Source/cmLocalVisualStudioGenerator.cxx
index d344dc5..77ec6f7 100644
--- a/Source/cmLocalVisualStudioGenerator.cxx
+++ b/Source/cmLocalVisualStudioGenerator.cxx
@@ -205,7 +205,9 @@ std::string cmLocalVisualStudioGenerator::ConstructScript(
}
if (workingDirectory.empty()) {
- script += this->Convert(cmd.c_str(), START_OUTPUT, SHELL);
+ script += this->ConvertToOutputFormat(
+ this->ConvertToRelativePath(this->GetCurrentBinaryDirectory(), cmd),
+ cmOutputConverter::SHELL);
} else {
script += this->ConvertToOutputFormat(cmd.c_str(), SHELL);
}