Am Dienstag 26 Januar 2010 schrieb Vincent van Ravesteijn - TNW:
> >> Cmake shouldn't want to compile moc_* files. It shouldn't even know
> >> that they exist. These moc_* files are #included in the normal *.cpp
> >> files and they are now compiled twice and thus giving you the
> >> "previously defined here" errors.
> >
> >Why not? They are not part of svn, so they have to be
> >created. I had a hard time to implement it.
> 
> Yes, I appreciate it a lot.
> 
> I just mean that Cmake shouldn't want to compile them explicitly. When
> running Cmake it collects all *.cpp files in the src directory and tries
> to compile them. However, in this step it should neglect the moc_*
> files.
> 
> Vincent
> 

I see. I never had this problem (not compiling in the source tree). I try to 
exclude the moc files ...

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to