VS: Replace FULL/UNCHANGED conversion with equivalent

This commit is contained in:
Stephen Kelly 2016-08-27 13:44:55 +02:00
parent 5ad25ef4b6
commit a8c7ccb183
1 changed files with 2 additions and 2 deletions

View File

@ -278,8 +278,8 @@ cmSourceFile* cmLocalVisualStudio7Generator::CreateVCProjBuildRule()
cmCustomCommandLines commandLines;
commandLines.push_back(commandLine);
const char* no_working_directory = 0;
std::string fullpathStampName = this->Convert(
stampName.c_str(), cmOutputConverter::FULL, cmOutputConverter::UNCHANGED);
std::string fullpathStampName =
cmSystemTools::CollapseFullPath(stampName.c_str());
this->Makefile->AddCustomCommandToOutput(
fullpathStampName.c_str(), listFiles, makefileIn.c_str(), commandLines,
comment.c_str(), no_working_directory, true);