View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015210 | CMake | CMake | public | 2014-10-17 13:36 | 2014-10-30 11:37 | ||||
Reporter | Clinton Stimpson | ||||||||
Assigned To | Clinton Stimpson | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0015210: 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. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0037043) Brad King (manager) 2014-10-17 14:00 |
Deleting CMakeCache.txt has not been enough in a *LONG* time. You need to delete CMakeFiles/ too. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2014-10-17 13:36 | Clinton Stimpson | New Issue | |
2014-10-17 14:00 | Brad King | Note Added: 0037043 | |
2014-10-30 11:37 | Clinton Stimpson | Status | new => closed |
2014-10-30 11:37 | Clinton Stimpson | Assigned To | => Clinton Stimpson |
2014-10-30 11:37 | Clinton Stimpson | Resolution | open => fixed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |