Missing info in error message

Thiago Macieira thiago at kde.org
Tue May 2 09:10:09 CEST 2006


David Faure wrote:
>CMake 2.4.1-beta still has the problem that if a CMakeLists.txt file
> refers to a non-existing source file, the error message says
> CMake Error: can not find file /full/path/to/non/existing/file.cpp
>
>But it doesn't say -which- CMakeLists.txt file has the problem, which
> means lots of grepping in a large module like kdebase. Can this be
> added?

Sometimes, it's also not the CMakeLists.txt, but the result of automoc. It 
took me quite a while to find a bad #include 'headername_p.moc" (sic) at 
the end of a source file.

-- 
Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
  thiago.macieira (AT) trolltech.com     Trolltech AS
    GPG: 0x6EF45358                   |  Sandakerveien 116,
    E067 918B B660 DBD1 105C          |  NO-0402
    966C 33F5 F005 6EF4 5358          |  Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20060502/58089f56/attachment.pgp 


More information about the Kde-buildsystem mailing list