MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0010738 | CMake | CMake | public | 2010-05-20 07:55 | 2013-07-01 09:37 |
| Reporter | cbielow | ||||
| Assigned To | Brad King | ||||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | OS | OS Version | |||
| Product Version | CMake-2-8 | ||||
| Target Version | CMake 2.8.10 | Fixed in Version | CMake 2.8.10 | ||
| Summary | 0010738: CMake should warn when a different version of CMake is run on an existing build tree. | ||||
| Description | Hi, I just encountered that when configuring a CMake project with Cmake 2.6 and then calling CMake 2.8 on that, that "CMAKE_SIZEOF_VOID_P" will not be defined. I don't know what else is affected by updating the version without deleting every trace of CMake configured files, but "CMAKE_SIZEOF_VOID_P" is definitely one of them. A minimal CMakeLists.txt example is attached. I called: mkdir test_build cd test_build "c:\Program Files (x86)\CMake 2.6_\bin\cmake.exe" -G "Visual Studio 9 2008" ..\test "c:\Program Files (x86)\CMake 2.8\bin\cmake.exe" . The last call will give: C:\dev\test_build>cmake . CMake Error at CMakeLists.txt:9 (message): 'CMAKE_SIZEOF_VOID_P' is undefined. Thus you should delete CMakeFiles (the directory) and the CMakeCache.txt and rerun CMake again! This is some weird CMake bug that seems to appear when updating the CMake version. -- Configuring incomplete, errors occurred! | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://public.kitware.com/Bug/file/3131/CMakeLists.txt | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2010-05-20 07:55 | cbielow | New Issue | |||
| 2010-05-20 07:55 | cbielow | File Added: CMakeLists.txt | |||
| 2010-05-20 07:56 | cbielow | Note Added: 0020796 | |||
| 2010-05-20 08:12 | Bill Hoffman | Note Added: 0020797 | |||
| 2010-05-20 09:15 | cbielow | Note Added: 0020799 | |||
| 2010-05-20 09:38 | Bill Hoffman | Summary | CMAKE_SIZEOF_VOID_P undefined when calling 2.8 on 2.6er project => CMake should warn when a different version of CMake is run on an existing build tree. | ||
| 2010-05-20 09:38 | Bill Hoffman | Note Added: 0020800 | |||
| 2010-05-20 09:39 | Bill Hoffman | Status | new => assigned | ||
| 2010-05-20 09:39 | Bill Hoffman | Assigned To | => Brad King | ||
| 2012-08-13 10:44 | Brad King | Status | assigned => backlog | ||
| 2012-08-13 10:44 | Brad King | Note Added: 0030556 | |||
| 2013-02-18 09:43 | Brad King | Note Added: 0032326 | |||
| 2013-02-18 09:43 | Brad King | Status | backlog => resolved | ||
| 2013-02-18 09:43 | Brad King | Resolution | open => fixed | ||
| 2013-02-18 09:43 | Brad King | Fixed in Version | => CMake 2.8.10 | ||
| 2013-02-18 09:43 | Brad King | Target Version | => CMake 2.8.10 | ||
| 2013-07-01 09:37 | Robert Maynard | Note Added: 0033427 | |||
| 2013-07-01 09:37 | Robert Maynard | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||