modular configure checks with cmake
clubjuggler at gmail.com
Tue Mar 28 23:38:42 CEST 2006
On 3/28/06, Alexander Neundorf <neundorf at kde.org> wrote:
> Maybe somebody could write a script which checks which compiler definitions
> are used in which files ?
Here's a really ugly perl script that traverses a set of directories and
pulls out HAVE_* symbols from .h/.c/.cpp files and then prints out what
files they occur in. Call it like this
% find-config-symbols.pl kdelibs
Here's sample output run against the dcop directory:
% find-source-files.pl dcop
Hope this is useful. Note that running it against all of kdelibs
will probably take a long time (10-20 minutes, I'd estimate).
clubjuggler at gmail dot com
(fieldless) In fess two roundels in pale, a billet fesswise and an
increscent, all sable.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1596 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20060328/ed9af4ea/attachment.bin
More information about the Kde-buildsystem