[Cmake-commits] CMake branch, next, updated. v2.8.8-2717-g5d477bd

Brad King brad.king at kitware.com
Thu Apr 26 08:49:33 EDT 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  5d477bdb30934561b3a8eadd35c525903f7aceab (commit)
       via  953257ca611526c9a161a22e5148802be1c67649 (commit)
       via  a7d0fb1470cc7c900abfff14a87039d353a8c2b3 (commit)
      from  f661b99a80b69b787815b274c3c2206a571b996b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=5d477bdb30934561b3a8eadd35c525903f7aceab
commit 5d477bdb30934561b3a8eadd35c525903f7aceab
Merge: f661b99 953257c
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Thu Apr 26 08:49:26 2012 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Thu Apr 26 08:49:26 2012 -0400

    Merge topic 'try-compile-cleanup-dirs' into next
    
    953257c try_compile: Cleanup temporary directories (#13160)
    a7d0fb1 CMake Nightly Date Stamp


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=953257ca611526c9a161a22e5148802be1c67649
commit 953257ca611526c9a161a22e5148802be1c67649
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Thu Apr 26 08:18:51 2012 -0400
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Thu Apr 26 08:20:58 2012 -0400

    try_compile: Cleanup temporary directories (#13160)
    
    Since commit 4fbdce2b (try_compile: Use random executable file name,
    2012-02-13) a different <target>.dir is used for each try-compile.
    Cleanup the directories as well as their content to avoid accumulating
    leftover temporary directories.

diff --git a/Source/cmCoreTryCompile.cxx b/Source/cmCoreTryCompile.cxx
index 48f644b..ed485e3 100644
--- a/Source/cmCoreTryCompile.cxx
+++ b/Source/cmCoreTryCompile.cxx
@@ -404,6 +404,7 @@ void cmCoreTryCompile::CleanupFiles(const char* binDir)
         if(cmSystemTools::FileIsDirectory(fullPath.c_str()))
           {
           this->CleanupFiles(fullPath.c_str());
+          cmSystemTools::RemoveADirectory(fullPath.c_str());
           }
         else
           {

-----------------------------------------------------------------------

Summary of changes:
 Source/CMakeVersion.cmake   |    2 +-
 Source/cmCoreTryCompile.cxx |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list