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

Any help would be appreciated, thanks,


Steve
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to