[cmake-developers] [CMake 0015210]: CMakeFindBinUtils.cmake not re-run when cache is deleted
Mantis Bug Tracker
mantis at public.kitware.com
Fri Oct 17 13:36:08 EDT 2014
The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=15210
======================================================================
Reported By: Clinton Stimpson
Assigned To:
======================================================================
Project: CMake
Issue ID: 15210
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2014-10-17 13:36 EDT
Last Modified: 2014-10-17 13:36 EDT
======================================================================
Summary: CMakeFindBinUtils.cmake not re-run when cache is
deleted
Description:
If I run cmake to create a build tree, then delete the CMakeCache.txt file and
re-run cmake, the cache variables from CMakeFindBinUtils.cmake are not restored.
Modules/Platform/Darwin.cmake and Modules/Platform/Windows-MSVC.cmake both
contain hacks to restore some cache variables.
In my case, a missing CMAKE_STRIP prompted this bug report because it was
possible to create packages containing debug symbols.
Steps to Reproduce:
With <root>/CMake and <root>/build:
cmake ../CMake
mv CMakeCache.txt CMakeCache.txt.bak
rm CMakeCache.txt
cmake ../CMake
diff -u CMakeCache.txt.bak CMakeCache.txt
to see all of the missing variables.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2014-10-17 13:36 Clinton StimpsonNew Issue
======================================================================
More information about the cmake-developers
mailing list