summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-03-11 21:27:24 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-03-11 21:27:24 (GMT)
commit84cea9806fd19bad9bb7758b4b826ef25fee1ccc (patch)
treea0d69757a870380cabfdea3bb955686e4eafa058 /Source/cmMakefile.cxx
parentfdf169be3a9e78e55d4c87b8341c2bddfca6a57f (diff)
downloadCMake-84cea9806fd19bad9bb7758b4b826ef25fee1ccc.zip
CMake-84cea9806fd19bad9bb7758b4b826ef25fee1ccc.tar.gz
CMake-84cea9806fd19bad9bb7758b4b826ef25fee1ccc.tar.bz2
ENH: fix warning message a bit
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 362dbdc..8a42142 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";