ENH: do not put a rule in to rebuild the ALL_BUILD.dsp file, as it is not possible...

This commit is contained in:
Ken Martin 2001-08-22 16:33:58 -04:00
parent ddd5a7d729
commit abff98fb9d
1 changed files with 4 additions and 0 deletions

View File

@ -151,6 +151,10 @@ void cmDSPWriter::CreateSingleDSP(const char *lname, cmTarget &target)
void cmDSPWriter::AddDSPBuildRule(cmSourceGroup& sourceGroup)
{
std::string dspname = *(m_CreatedProjectNames.end()-1);
if(dspname == "ALL_BUILD")
{
return;
}
dspname += ".dsp";
std::string makefileIn = "\"";
makefileIn += m_Makefile->GetStartDirectory();