Merge branch 'vs10-path-issue'
This commit is contained in:
commit
d4206dc62b
|
@ -154,8 +154,6 @@ void cmGlobalVisualStudio8Generator::AddCheckTarget()
|
||||||
stampFile += "/";
|
stampFile += "/";
|
||||||
stampFile += cmake::GetCMakeFilesDirectoryPostSlash();
|
stampFile += cmake::GetCMakeFilesDirectoryPostSlash();
|
||||||
stampFile += "generate.stamp";
|
stampFile += "generate.stamp";
|
||||||
stampFile = generators[0]->Convert(stampFile.c_str(),
|
|
||||||
cmLocalGenerator::START_OUTPUT);
|
|
||||||
fout << stampFile << "\n";
|
fout << stampFile << "\n";
|
||||||
stamps.push_back(stampFile);
|
stamps.push_back(stampFile);
|
||||||
}
|
}
|
||||||
|
|
|
@ -270,9 +270,11 @@ cmSourceFile* cmLocalVisualStudio7Generator::CreateVCProjBuildRule()
|
||||||
cmCustomCommandLines commandLines;
|
cmCustomCommandLines commandLines;
|
||||||
commandLines.push_back(commandLine);
|
commandLines.push_back(commandLine);
|
||||||
const char* no_working_directory = 0;
|
const char* no_working_directory = 0;
|
||||||
this->Makefile->AddCustomCommandToOutput(stampName.c_str(), listFiles,
|
std::string fullpathStampName = this->Convert(stampName.c_str(), FULL,
|
||||||
makefileIn.c_str(), commandLines,
|
UNCHANGED);
|
||||||
comment.c_str(),
|
this->Makefile->AddCustomCommandToOutput(fullpathStampName.c_str(),
|
||||||
|
listFiles, makefileIn.c_str(),
|
||||||
|
commandLines, comment.c_str(),
|
||||||
no_working_directory, true);
|
no_working_directory, true);
|
||||||
if(cmSourceFile* file = this->Makefile->GetSource(makefileIn.c_str()))
|
if(cmSourceFile* file = this->Makefile->GetSource(makefileIn.c_str()))
|
||||||
{
|
{
|
||||||
|
|
|
@ -3906,6 +3906,9 @@ static bool cmakeCheckStampFile(const char* stampName)
|
||||||
// build system is really out of date.
|
// build system is really out of date.
|
||||||
std::cout << "CMake is re-running because " << stampName
|
std::cout << "CMake is re-running because " << stampName
|
||||||
<< " is out-of-date.\n";
|
<< " is out-of-date.\n";
|
||||||
|
std::cout << " the file '" << dep << "'\n";
|
||||||
|
std::cout << " is newer than '" << stampDepends << "'\n";
|
||||||
|
std::cout << " result='" << result << "'\n";
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue