ENH: fix warning message a bit

This commit is contained in:
Bill Hoffman 2008-03-11 17:27:24 -04:00
parent fdf169be3a
commit 84cea9806f
1 changed files with 5 additions and 1 deletions

View File

@ -303,7 +303,7 @@ void cmMakefile::IssueMessage(cmake::MessageType t, std::string const& text) con
{ {
return; return;
} }
msg << "(Code)"; msg << "(dev)";
} }
msg << ":"; msg << ":";
} }
@ -334,6 +334,10 @@ void cmMakefile::IssueMessage(cmake::MessageType t, std::string const& text) con
<< this->LocalGenerator->Convert(this->GetCurrentDirectory(), << this->LocalGenerator->Convert(this->GetCurrentDirectory(),
cmLocalGenerator::HOME); cmLocalGenerator::HOME);
} }
else if(this->GetCMakeInstance()->GetIsInTryCompile())
{
msg << " in directory " << this->GetCurrentDirectory();
}
else else
{ {
msg << " in top-level directory"; msg << " in top-level directory";