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                                    
======================================================================

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to