[CMake] Xcode project generator and Xcode 3.0 (Leopard)

Mike Jackson imikejackson at gmail.com
Thu Feb 28 15:42:10 EST 2008


That is the trick for Xcode and Visual Studio to show the headers. So
I know it works in both places. KDevelop probably is smart enough to
just look in the directory and "see" the header files. Eclipse does
this. So it may not be the generator but how the IDE works.

Mike

On Thu, Feb 28, 2008 at 3:21 PM, Jens Hannemann <j.hannemann at ieee.org> wrote:
> Mike,
>
> On Feb 28, 2008, at 2:41 PM, Mike Jackson wrote:
>
> > ADD_EXECUTABLE(dining_philosophers
> >   ${dining_philosophers_SRCS}
> >   ${dining_philosophers_MOC_SRCS}
> >   ${dining_philosophers_MOC_HDRS}
> > )
> >
> > should solve the headers now showing up in the project.
>
> Yep, that did the trick, although I had to separate out the moc from
> the non-moc headers to suppress moc's complaint about no code being
> generated. It is weird, however, that I don't have to do this on
> KDevelop but do have to do this on XCode. Although the addition of the
> headers does not hurt KDevelop, I think we should strive for
> consistency here, if possible. What's the situation on Visual Studio?
> I don't have access to that one, but if the backend generator for
> KDevelop can figure this out automatically, the others should, too.
>
> > Not sure about the other part..
>
> The spurious rule is still there (again, only for the moc header).
>
> Thanks for the quick reply,
>
> 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
>
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>



-- 
Mike Jackson
imikejackson _at_ gee-mail dot com


More information about the CMake mailing list