Missing configure checks for #cmakedefine

Lubos Lunak l.lunak at suse.cz
Mon Mar 23 16:33:51 CET 2009


On Saturday 21 of March 2009, Allen Winter wrote:
> I think someone needs to write a new tool that scans the source for all
> the conditional compile defines, then compares that list against the list
> of all the defines we might set (in ConfigureChecks.cmake).
>
> This seems more like a code-quality thing than a buildsystem-thing.

 It looks to me like a buildsystem thing, the buildsystem should know whether 
there has been a test for such a flag, since, well, it should know. Or at 
least it could know.

> Hmm.. Krazy could do this, if it was given a list of all known HAVE_FOO
> macros. Of course, people would also need to care about looking at/fixing
> Krazy issues on a regular basis.

 I suppose this could be good enough if CMake can't handle this itself.

-- 
Lubos Lunak
KDE developer
--------------------------------------------------------------
SUSE LINUX, s.r.o.   e-mail: l.lunak at suse.cz , l.lunak at kde.org
Lihovarska 1060/12   tel: +420 284 028 972
190 00 Prague 9      fax: +420 284 028 951
Czech Republic       http://www.suse.cz


More information about the Kde-buildsystem mailing list