diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 362dbdc39..8a4214278 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -303,7 +303,7 @@ void cmMakefile::IssueMessage(cmake::MessageType t, std::string const& text) con { return; } - msg << "(Code)"; + msg << "(dev)"; } msg << ":"; } @@ -334,6 +334,10 @@ void cmMakefile::IssueMessage(cmake::MessageType t, std::string const& text) con << this->LocalGenerator->Convert(this->GetCurrentDirectory(), cmLocalGenerator::HOME); } + else if(this->GetCMakeInstance()->GetIsInTryCompile()) + { + msg << " in directory " << this->GetCurrentDirectory(); + } else { msg << " in top-level directory";