[CMake] Xcode and ReRunCMake.make
Steven Wilson
steven.wesley.wilson at gmail.com
Fri Jan 15 12:07:30 EST 2010
Reported as bug #10151.
Steve
On Thu, Jan 14, 2010 at 5:57 PM, Bill Hoffman <bill.hoffman at kitware.com>wrote:
> Steven Wilson wrote:
>
>> 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,
>>
>> Sounds like a bug... Can you create a bug report?
>
> -Bill
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100115/66e4bb22/attachment-0001.htm>
More information about the CMake
mailing list