RFC: A Configure Wrapper

Allen Winter winter at kde.org
Sun Jul 2 04:39:18 CEST 2006


Howdy,

Attached is a perl script that emulates the old configure program.  Pretty straightforward
so I don't think you need to be a perl expert to understand it.

It only supports a minimum set of the old options.  More options can be easily added if there
is a CMake equivalent.

So far it supports these options:
 --prefix
 --enable-debug=<yes|no|full>
 --enable-final
 --disable-rpath
 --with-qt-dir=DIR

You'll also notice that it creates a build subdir and runs cmake from within that subdir.

So, the idea is that users not willing to learn the new "cmake-way" will run:
  % ./configure <options>; cd builddir; make && make install

And, unfortunately, this script will need to be kept in sync with what's happening in the cmake-stuff,
and also each module will need their own copy. 

Comments?  More configure options to add?
-Allen
-- 
Let's Keep the Political Talk Out of KDE PLEASE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure
Type: application/x-perl
Size: 6482 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20060701/134b9014/attachment.pl 


More information about the Kde-buildsystem mailing list