MSVC 2005

Alexander Neundorf neundorf at kde.org
Tue Nov 7 19:19:23 CET 2006


On Tuesday 07 November 2006 13:53, Manuel Klimek wrote:
> Hi,
>
> the moc files are added to the source file list.
> Visual studio compiles all sources files in the source file list if they
> don't have a special header extension with the default compiler.
> So it tries to compile the moc files. I fixed this for me by changing the
> *AUTOMOC macros so that they don't add the .moc files to the source file
> list.
> In the next cmake version a patch of mine will be integrated, so that the
> *AUTOMOC could set the HEADER_ONLY property of source files that shouldn't
> be compiled.

Can't I set this flag from within our cmake files ?
Next time something breaks like this please let me know.

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net


More information about the Kde-buildsystem mailing list