Fixing output of new automoc macro

Matthias Kretz kretz at kde.org
Wed Jul 4 18:39:20 CEST 2007


On Wednesday 04 July 2007, Andreas Pakulat wrote:
> a) its not coloured so you can't easily ignore it. Normally in a make
> run standard-coloured lines indicate errors or warnings so this is
> confusing at first sight. It seems this is some CMake-Source-Internal
> stuff that creates the coloring for things like Generating Foobar.

Generating <targetname>.automoc is colored in blue
The messages written by kde4automoc.cmake cannot be colored without patching 
cmake itself (AFAICS).

> b) Its too long. It contains the full absolute path of the header and
> the moc file. IMHO it should be just the filename or if possible the
> relative path of the .h to the CMakeLists.txt (i.e. for things in
> kdeui it would be widget/foobar.h)

I like to see all the information there. If it's a relative path it could be 
in the src or build dir. And if it doesn't show what file it's creating the 
moc from you don't know whether it's creating it from the .h or the .cpp 
file.

-- 
________________________________________________________
Matthias Kretz (Germany)                            <><
http://Vir.homelinux.org/
MatthiasKretz at gmx.net, kretz at kde.org,
Matthias.Kretz at urz.uni-heidelberg.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20070704/19cdfa3d/attachment.pgp 


More information about the Kde-buildsystem mailing list