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:<br><br>src/<br>  - CMakeLists.txt<br>
  - A/<br>    - CMakeLists.txt<br>  - B/<br>    - CMakeLists.txt<br><br>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.<br>
<br>As a result, if I change 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.<br><br>Any help would be appreciated, thanks,<br>
<br><br>Steve<br><br><br> <br>