MantisBT - CMake
View Issue Details
0012616CMakeCMakepublic2011-12-09 07:122012-05-09 15:26
Nils Gladitz 
Brad King 
normalmajoralways
closedfixed 
MacOS X10.8.0
CMake 2.8.6 
CMake 2.8.7CMake 2.8.7 
0012616: ReRunCMake.make overriden by subprojects
First of I'm guessing this issue is related to 0010151.

Having a similar setup:
src/
  - CMakeLists.txt
  - A/
    - CMakeLists.txt

Where A/CMakeLists.txt contains a call to "project()" and CMakeLists.txt uses add_subdirectory(A).

The generated ReRunCMake.make lists only A/CMakeLists.txt as a dependency.

Without the call to project() in A/CMakeLists.txt ReRunCMake.make correctly lists dependencies for both "CMakeLists.txt"s (plus a lot of other cmake files).
No tags attached.
related to 0010151closed Brad King Xcode generator's ReRunCMake.make mechanism fails to include all CMakeLists.txt from a project in the dependency list. 
Issue History
2011-12-09 07:12Nils GladitzNew Issue
2011-12-09 12:59Brad KingRelationship addedrelated to 0010151
2011-12-09 13:00Brad KingAssigned To => Brad King
2011-12-09 13:00Brad KingStatusnew => assigned
2011-12-09 13:02Brad KingNote Added: 0027938
2011-12-09 13:02Brad KingStatusassigned => resolved
2011-12-09 13:02Brad KingResolutionopen => fixed
2011-12-16 17:26David ColeFixed in Version => CMake 2.8.7
2011-12-16 17:26David ColeTarget Version => CMake 2.8.7
2012-05-09 15:26David ColeNote Added: 0029451
2012-05-09 15:26David ColeStatusresolved => closed

Notes
(0027938)
Brad King   
2011-12-09 13:02   
Good catch. Fixed, thanks:

  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e8b8f0ed [^]
(0029451)
David Cole   
2012-05-09 15:26   
Closing resolved issues that have not been updated in more than 4 months.