[CMake] Xcode generator

Tobias Rudolph tobias.rudolph at artorg.unibe.ch
Thu Apr 2 04:09:33 EDT 2009


On 2 Apr 2009, at 02:14, E. Wing wrote:

>> As you can see, when a rebuild is done, the template gets copied to
>> "main.cpp" which in turn is compiled and linked. This works great in
>> Xcode. But, whenever I change the template, i.e. my CUDA sources, I
>> have to run the build twice to make the changes appear in the test
>> program. It looks like the custom command is executed during the  
>> first
>> run and the generated file gets compiled in the second.
>>
>> Has anyone ever seen this?
>>
>>
>
> I haven't had your exact problem, but I think I have encountered
> something similar which required me to build twice to capture changes.
> I think there is a bug in the CMake bootstrap. Since you have a good
> reproducible test case, would, I would encourage you to file a bug
> report on this in the CMake bug tracker.
>
> Thanks,
> Eric

http://public.kitware.com/Bug/view.php?id=8833

cheers,
tobias


More information about the CMake mailing list