summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-02-03 15:25:51 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-02-03 15:25:51 (GMT)
commita721b9640732c60d282896cdf64691758ffe8bca (patch)
tree08104fe6feb1105a0980aa423052d177650291a2 /Source/cmLocalGenerator.cxx
parent59adb4eabe6881cd29bc2470ad63b54d8527039e (diff)
downloadCMake-a721b9640732c60d282896cdf64691758ffe8bca.zip
CMake-a721b9640732c60d282896cdf64691758ffe8bca.tar.gz
CMake-a721b9640732c60d282896cdf64691758ffe8bca.tar.bz2
ENH: Cleanup output
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 48f1479..4c8262e 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -254,8 +254,10 @@ void cmLocalGenerator::AddInstallRule(std::ostream& fout, const char* dest,
case cmTarget::INSTALL_FILES:
default: stype = "FILE"; break;
}
+ std::string fname = cmSystemTools::GetFilenameName(sfiles.c_str());
fout
- << "MESSAGE(STATUS \"Install " << stype << ": " << sfiles.c_str() << "\")\n"
+ << "MESSAGE(STATUS \"Installing " << destination.c_str()
+ << "/" << fname.c_str() << "\")\n"
<< "FILE(INSTALL DESTINATION \"" << destination.c_str()
<< "\" TYPE " << stype.c_str() << (optional?" OPTIONAL":"")
<< " FILES \"" << sfiles.c_str() << "\")\n";