make KDE4_AUTOMOC compatible to qmake
klimek at box4.net
Sun Jun 10 21:14:33 CEST 2007
> 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.
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.
More information about the Kde-buildsystem