From 84cea9806fd19bad9bb7758b4b826ef25fee1ccc Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Tue, 11 Mar 2008 17:27:24 -0400 Subject: [PATCH] ENH: fix warning message a bit --- Source/cmMakefile.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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";