MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0007084 | CMake | CMake | public | 2008-05-23 11:36 | 2008-09-09 14:21 |
| Reporter | kentwilliams | ||||
| Assigned To | Bill Hoffman | ||||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | won't fix | ||
| Platform | OS | OS Version | |||
| Product Version | CMake-2-6 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0007084: Re-running CMake twice on the same directory corrupts CMakeCache.txt | ||||
| Description | Found with a complicated batch build system. If the build directory does not exist (or if you delete the CMakeCache.txt) the build works fine. If you run CMake a second time with the same command line parameters it writes a new CMakeCache.txt file, but with incorrect values for important CMAKE variables like CMAKE_INSTALL_PREFIX Clue: The second cmake produces this error message: You have changed variables that require your cache to be deleted. Configure will be re-run and you may have to reset some variables. The following variables have changed: CMAKE_C_COMPILER= gcc CMAKE_CXX_COMPILER= g++ | ||||
| Steps To Reproduce | |||||
| Additional Information | The attached tar file demonstrates the problem: Untar CMakeTestBatchBuild.tar.gz cd CMakeTestBatchBuild sh testscript | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://public.kitware.com/Bug/file/1493/CMakeTestBatchBuild.tar.gz | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2008-05-23 11:36 | kentwilliams | New Issue | |||
| 2008-05-23 11:36 | kentwilliams | File Added: CMakeTestBatchBuild.tar.gz | |||
| 2008-06-06 11:18 | Bill Hoffman | Note Added: 0012277 | |||
| 2008-06-06 11:18 | Bill Hoffman | Note Added: 0012278 | |||
| 2008-06-06 11:19 | Bill Hoffman | Status | new => assigned | ||
| 2008-06-06 11:19 | Bill Hoffman | Assigned To | => Bill Hoffman | ||
| 2008-09-09 14:21 | Bill Hoffman | Status | assigned => closed | ||
| 2008-09-09 14:21 | Bill Hoffman | Resolution | open => won't fix | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||