mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
cmOutputConverter: move ConvertToRelativePath to cmStateDirectory.
This commit is contained in:
@@ -210,9 +210,10 @@ std::string cmLocalVisualStudioGenerator::ConstructScript(
|
||||
}
|
||||
|
||||
if (workingDirectory.empty()) {
|
||||
script += this->ConvertToOutputFormat(
|
||||
this->ConvertToRelativePath(this->GetCurrentBinaryDirectory(), cmd),
|
||||
cmOutputConverter::SHELL);
|
||||
script +=
|
||||
this->ConvertToOutputFormat(this->MaybeConvertToRelativePath(
|
||||
this->GetCurrentBinaryDirectory(), cmd),
|
||||
cmOutputConverter::SHELL);
|
||||
} else {
|
||||
script += this->ConvertToOutputFormat(cmd.c_str(), SHELL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user