Confusing bail-out messages
Adriaan de Groot
groot at kde.org
Sun Oct 15 10:49:52 CEST 2006
As usual, I fired up CMake without setting up my build environment properly,
and got this:
CMake Error: Error in cmake code at
MESSAGE Qt qmake not found!
For once, though, I actually read the messages, and it strikes me that they
are somewhat confusing when taken at face value. For one thing, there is no
error in the cmake code: it's a error during configuration because the cmake
code has *detected* an error. It might be useful to make the bail-out message
a little more verbose with some MESSAGE( STATUS ... ) strings (I'll try to
remember to do that on monday to avoid the wrath of everyone).
The other thing is the stack: it'd be useful to include line numbers in the
trace and/or format it like the gcc "error in file F, included from F' ..."
KDE Quality Team http://www.englishbreakfastnetwork.org/
GPG: FEA2 A3FE http://people.fruitsalad.org/adridg/
More information about the Kde-buildsystem