BUG: install_manifest.txt should be overwritten each time the install is run.

This commit is contained in:
Brad King 2004-07-02 14:08:49 -04:00
parent ffb54f8e84
commit 419f53ea7b
1 changed files with 2 additions and 0 deletions

View File

@ -295,6 +295,8 @@ void cmLocalGenerator::GenerateInstallRules()
}
if ( toplevel_install )
{
fout << "FILE(WRITE \"" << homedir.c_str() << "/install_manifest.txt\" "
<< "\"\")" << std::endl;
fout << "FOREACH(file ${CMAKE_INSTALL_MANIFEST_FILES})" << std::endl
<< " FILE(APPEND \"" << homedir.c_str() << "/install_manifest.txt\" "
<< "\"${file}\\n\")" << std::endl