Hi Alex,

> I think there is currently no way to tell cmake not to compile a file with a
> known extension. Even if this would be added for 2.4.7 or 2.4.8 it wouldn't
> help us since we require 2.4.5.

this bug:
http://www.cmake.org/Bug/bug.php?op=show&bugid=3908&pos=2
is fixed since 2.4.5.

So you should be able to simply set HEADER_FILE_ONLY on
the moc cpp files. In my company we use this method to generate
"final" builds where all files are included in one big cpp file and
the included cpp files are part of the project, too.

Cheers,
Manuel

-- 
http://klimek.box4.net
_______________________________________________
Kde-buildsystem mailing list
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem

Reply via email to