[CMake] Xcode project generator and Xcode 3.0 (Leopard)
Jens Hannemann
j.hannemann at ieee.org
Thu Feb 28 15:59:27 EST 2008
On Feb 28, 2008, at 3:45 PM, Sean McBride wrote:
> On 2/28/08 2:32 PM, Jens Hannemann said:
>
>> CMake (both 2.4.8 and the cvs version as of today) generates correct
>> makefiles and KDevelop3 projects. But in Xcode 3.0, the header files
>> fail to show up in the project, and no dependencies seem to be
>> generated. This means I can modify the headers without Xcode
>> complaining or the build system triggering a recompile.
>
> Odd, Xcode doesn't actually need header files to be in the project.
> You
> can prove this to yourself by creating a small test project and add a
> new class but put only the source file in the project. If you then
> change the header and rebuild, Xcode can/should realise it needs to
> rebuild the source.
You are right. I went back and re-checked. So the dependencies are
generated OK, but the headers fail to show up unless I manually
specify them as a source for the executable. Oh well, I can live with
that. That leaves the problem with the spurious rule. Looks like this
is an actual bug, so I'll file it.
Thanks,
Jens
--
Dr.-Ing. Jens Hannemann --- j.hannemann at ieee.org --- GPG Key Available
University of Kentucky -- Dept. of Electrical and Computer Engineering
Center for Visualization and Virtual Environments
More information about the CMake
mailing list