[cmake-developers] [CMake 0013160]: try_compile leaves temporary directories
Mantis Bug Tracker
mantis at public.kitware.com
Mon Apr 23 03:28:22 EDT 2012
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=13160
======================================================================
Reported By: Andreas Roth
Assigned To:
======================================================================
Project: CMake
Issue ID: 13160
Category: CMake
Reproducibility: always
Severity: major
Priority: normal
Status: new
======================================================================
Date Submitted: 2012-04-23 03:28 EDT
Last Modified: 2012-04-23 03:28 EDT
======================================================================
Summary: try_compile leaves temporary directories
Description:
I installed the version 2.8.8 of CMake and i noticed that each try_compile run
leaves a directory like build\CMakeFiles\CMakeTmp\cmTryCompileExec78340897.dir.
This behavior has been introduced to fix the issue described here:
http://public.kitware.com/Bug/view.php?id=12957
On a build machine i noticed that each CMake run gets slower and slower. After
deleting all directories in build\CMakeFiles\CMakeTmp the speed got back to
normal. I used the process monitor (from sysinternals) and saw that CMake
enumerates all items in the build\CMakeFiles\CMakeTmp quite often. I don't know
why, but i think that's the reason for the decreasing speed.
Steps to Reproduce:
1. delete the CMakeCache.txt file if it exists
2. Run cmake -G "Visual Studio 9 2008" .
with CMakeLists.txt:
PROJECT(HelloWorld C CXX)
this detects the compiler and leaves several directories in
CMakeFiles\CMakeTmp.
3. goto step 1
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2012-04-23 03:28 Andreas Roth New Issue
======================================================================
More information about the cmake-developers
mailing list