diff options
author | Brad King <brad.king@kitware.com> | 2006-08-15 19:28:29 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-08-15 19:28:29 (GMT) |
commit | c7daee686003768aa58651e7d7ee31beac4d35f9 (patch) | |
tree | e3db0675ddb3d6c3032986a6de3c9bc7d4f373dd /Source/cmMakefileExecutableTargetGenerator.cxx | |
parent | c6f1a11480f478b430fcb798ddeac972ec17ae6a (diff) | |
download | CMake-c7daee686003768aa58651e7d7ee31beac4d35f9.zip CMake-c7daee686003768aa58651e7d7ee31beac4d35f9.tar.gz CMake-c7daee686003768aa58651e7d7ee31beac4d35f9.tar.bz2 |
BUG: Need to clean manifest files that may have been generated for .exe and .dll files.
Diffstat (limited to 'Source/cmMakefileExecutableTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileExecutableTargetGenerator.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmMakefileExecutableTargetGenerator.cxx b/Source/cmMakefileExecutableTargetGenerator.cxx index 8f82c25..5473bd6 100644 --- a/Source/cmMakefileExecutableTargetGenerator.cxx +++ b/Source/cmMakefileExecutableTargetGenerator.cxx @@ -272,6 +272,13 @@ void cmMakefileExecutableTargetGenerator::WriteExecutableRule(bool relink) exeCleanFiles.push_back(this->Convert(cleanFullName.c_str(), cmLocalGenerator::START_OUTPUT, cmLocalGenerator::UNCHANGED)); +#ifdef _WIN32 + // There may be a manifest file for this target. Add it to the + // clean set just in case. + exeCleanFiles.push_back(this->Convert((cleanFullName+".manifest").c_str(), + cmLocalGenerator::START_OUTPUT, + cmLocalGenerator::UNCHANGED)); +#endif if(cleanRealName != cleanName) { exeCleanFiles.push_back(this->Convert(cleanFullRealName.c_str(), |