[cmake-developers] [CMake 0012616]: ReRunCMake.make overriden by subprojects

Mantis Bug Tracker mantis at public.kitware.com
Fri Dec 9 07:12:35 EST 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=12616 
====================================================================== 
Reported By:                ngladitz
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12616
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-12-09 07:12 EST
Last Modified:              2011-12-09 07:12 EST
====================================================================== 
Summary:                    ReRunCMake.make overriden by subprojects
Description: 
First of I'm guessing this issue is related to
http://www.cmake.org/Bug/view.php?id=10151.

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).
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-12-09 07:12 ngladitz       New Issue                                    
======================================================================




More information about the cmake-developers mailing list