MantisBT - CMake |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0010151 | CMake | CMake | public | 2010-01-15 11:56 | 2011-01-17 07:32 |
|
Reporter | Steve Wilson | |
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 | | Fixed in Version | | |
|
Summary | 0010151: Xcode generator's ReRunCMake.make mechanism fails to include all CMakeLists.txt from a project in the dependency list. |
Description | The mechanism that creates the ReRunCMake.make file seems to not correctly gather all the dependent CMakeLists.txt files from a project. For example if you have the following source tree:
src/
- CMakeLists.txt
- A/
- CMakeLists.txt
- B/
- CMakeLists.txt
where the src/CMakeLists.txt file calls add_subdirectory(A) and add_subdirectory(B), then CMake only includes the src/CMakeLists.txt file in the file dependency list in ReRunCMake.make file. The A/CMakeLists.txt and B/CMakeLists.txt files do not get included. Interestingly enough, these files do get added to ReRunCMake.make but get overwritten each time CMake processes another CMakeLists.txt file.
As a result, if someone changes CMakeLists.txt in either the A or B directories, the Xcode project does not re-run CMake to regenerate the the project files and the Xcode project does not get updated correctly. |
Steps To Reproduce | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | 0012616 | closed | Brad King | ReRunCMake.make overriden by subprojects |
|
Attached Files | patches.zip (2,018) 2010-01-15 16:26 https://public.kitware.com/Bug/file/2777/patches.zip |
|
Issue History |
Date Modified | Username | Field | Change |
2010-01-15 11:56 | Steve Wilson | New Issue | |
2010-01-15 16:25 | Steve Wilson | Note Added: 0019153 | |
2010-01-15 16:26 | Steve Wilson | File Added: patches.zip | |
2010-02-24 10:15 | Manuel Massing | Note Added: 0019606 | |
2010-02-24 10:16 | Manuel Massing | Note Deleted: 0019606 | |
2011-01-16 09:41 | David Cole | Assigned To | => Brad King |
2011-01-16 09:41 | David Cole | Status | new => assigned |
2011-01-16 09:42 | David Cole | Note Added: 0024728 | |
2011-01-17 07:26 | Brad King | Note Added: 0024735 | |
2011-01-17 07:31 | Brad King | Note Added: 0024736 | |
2011-01-17 07:32 | Brad King | Status | assigned => closed |
2011-01-17 07:32 | Brad King | Resolution | open => fixed |
2011-12-09 12:59 | Brad King | Relationship added | related to 0012616 |