>> 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

Reply via email to